函数逻辑报告 |
Source Code:kernel\cgroup\freezer.c |
Create Date:2022-07-27 12:15:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Enter frozen/stopped state, if not yet there. Update cgroup's counters,* and revisit the state of the cgroup, if necessary.
函数原型:void cgroup_enter_frozen(void)
返回类型:void
参数:无
111 | 如果frozen则返回 |
114 | spin_lock_irq( & css_set_lock) |
115 | frozen = true |
116 | cgrp等于task_dfl_cgroup(当前进程) |
119 | spin_unlock_irq( & css_set_lock) |
名称 | 描述 |
---|---|
ptrace_stop | This must be called with current->sighand->siglock held.* This should be the path for all ptrace stops.* We always set current->last_siginfo while stopped here.* That makes it a way to test a stopped process for |
do_signal_stop | do_signal_stop - handle group stop for SIGSTOP and other stop signals*@signr: signr causing group stop if initiating* If %JOBCTL_STOP_PENDING is not set yet, initiate group stop with @signr* and participate in it |
do_freezer_trap | do_freezer_trap - handle the freezer jobctl trap* Puts the task into frozen state, if only the task is not about to quit.* In this case it drops JOBCTL_TRAP_FREEZE.* CONTEXT:* Must be called with @current->sighand->siglock held, |
wait_for_vfork_done |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |