Function report | 
Source Code:kernel\acct.c | 
Create Date:2022-07-28 11:01:18 | 
| Last Modify:2020-03-17 15:14:29 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:void acct_collect(long exitcode, int group_dead)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| long | exitcode | |
| int | group_dead | 
| 537 | vsize = 0 | 
| 539 | If group_dead && mm Then | 
| 542 | lock for reading | 
| 551 | spin_lock_irq( & siglock) | 
| 552 | If group_dead Then ac_mem = vsize / 1024 | 
| 554 | If thread_group_leader(current process) Then | 
| 555 | ac_exitcode = exitcode | 
| 556 | If flags & Forked but didn't exec Then ac_flag |= ... executed fork, but did not exec | 
| 559 | If flags & Used super-user privileges Then ac_flag |= ... used super-user privileges | 
| 561 | If flags & Dumped core Then ac_flag |= ... dumped core | 
| 563 | If flags & Killed by a signal Then ac_flag |= ... was killed by a signal | 
| 566 | task_cputime(current process, & utime, & stime) | 
| 571 | spin_unlock_irq( & siglock) | 
| Name | Describe | 
|---|---|
| do_exit | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |