1TAPSET::KPROCESS(3stap) TAPSET::KPROCESS(3stap)
2
3
4
6 tapset::kprocess - systemtap kernel process probe points
7
8
9
11 This family of probe points is used to probe the kernel's process
12 activities. It contains the following probe points:
13
14
15 kprocess.create
16
17 Fires whenever a new process is successfully created, either as
18 a result of one of the fork syscall variants, or a new kernel
19 thread.
20
21 Arguments:
22
23 task
24 a handle to the newly created process
25
26 new_pid
27 pid of the newly created process
28
29
30 kprocess.start
31
32 Fires immediately before a new process begins execution.
33
34 Arguments:
35
36 N/A
37
38
39 kprocess.exec
40
41 Fires whenever a process attempts to exec to a new program
42
43 Arguments:
44
45 filename
46 the path to the new executable
47
48
49 kprocess.exec_complete
50
51 Fires at the completion of an exec call
52
53 Arguments:
54
55 errno
56 the error number resulting from the exec
57
58 success
59 a boolean indicating whether the exec was successful
60
61
62 kprocess.exit
63
64 Fires when a process terminates. This will always be followed by
65 a kprocess.release, though the latter may be delayed if the
66 process waits in a zombie state.
67
68 Arguments:
69
70 code
71 the exit code of the process
72
73
74 kprocess.release
75
76 Fires when a process is released from the kernel. This always
77 follows a kprocess.exit, though it may be delayed somewhat if
78 the process waits in a zombie state.
79
80 Arguments:
81
82 task
83 a task handle to the process being released
84
85 pid
86 pid of the process being released
87
88
90 stap(1), stapprobes(3stap)
91
92
93
94
95Intel, IBM TAPSET::KPROCESS(3stap)