函数逻辑报告 |
Source Code:kernel\acct.c |
Create Date:2022-07-27 12:02:28 |
Last Modify:2020-03-17 15:14:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:acct_collect - collect accounting information into pacct_struct*@exitcode: task exit code*@group_dead: not 0, if this thread is the last one in the process.
函数原型:void acct_collect(long exitcode, int group_dead)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
long | exitcode | |
int | group_dead |
537 | vsize等于0 |
539 | 如果group_dead且mm则 |
542 | lock for reading |
551 | spin_lock_irq( & siglock) |
552 | 如果group_dead则ac_mem等于vsize除1024 |
554 | 如果thread_group_leader(当前进程)则 |
555 | ac_exitcode等于exitcode |
559 | 如果flags按位与使用超级用户权限则ac_flag或等于... used super-user privileges |
561 | 如果flags按位与Dumped core 则ac_flag或等于... dumped core |
563 | 如果flags按位与Killed by a signal 则ac_flag或等于... was killed by a signal |
566 | task_cputime(当前进程, & utime, & stime) |
571 | spin_unlock_irq( & siglock) |
名称 | 描述 |
---|---|
do_exit |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |