1TRACEHOOK_REPORT_EXI(9) Kernel Internals TRACEHOOK_REPORT_EXI(9)
2
3
4
6 tracehook_report_exit - task has begun to exit
7
9 void tracehook_report_exit(long * exit_code);
10
12 exit_code
13 pointer to value destined for current->exit_code
14
16 exit_code points to the value passed to do_exit, which tracing might
17 change here. This is almost the first thing in do_exit, before freeing
18 any resources or setting the PF_EXITING flag.
19
20 Called with no locks held.
21
22
23
24Kernel Hackers Manual 2.6. June 2019 TRACEHOOK_REPORT_EXI(9)