@@ -263,6 +263,20 @@ of ftrace. Here is a list of some of the key files:
263
263
traced by the function tracer as well. This option will also
264
264
cause PIDs of tasks that exit to be removed from the file.
265
265
266
+ set_ftrace_notrace_pid:
267
+
268
+ Have the function tracer ignore threads whose PID are listed in
269
+ this file.
270
+
271
+ If the "function-fork" option is set, then when a task whose
272
+ PID is listed in this file forks, the child's PID will
273
+ automatically be added to this file, and the child will not be
274
+ traced by the function tracer as well. This option will also
275
+ cause PIDs of tasks that exit to be removed from the file.
276
+
277
+ If a PID is in both this file and "set_ftrace_pid", then this
278
+ file takes precedence, and the thread will not be traced.
279
+
266
280
set_event_pid:
267
281
268
282
Have the events only trace a task with a PID listed in this file.
@@ -274,6 +288,19 @@ of ftrace. Here is a list of some of the key files:
274
288
cause the PIDs of tasks to be removed from this file when the task
275
289
exits.
276
290
291
+ set_event_notrace_pid:
292
+
293
+ Have the events not trace a task with a PID listed in this file.
294
+ Note, sched_switch and sched_wakeup will trace threads not listed
295
+ in this file, even if a thread's PID is in the file if the
296
+ sched_switch or sched_wakeup events also trace a thread that should
297
+ be traced.
298
+
299
+ To have the PIDs of children of tasks with their PID in this file
300
+ added on fork, enable the "event-fork" option. That option will also
301
+ cause the PIDs of tasks to be removed from this file when the task
302
+ exits.
303
+
277
304
set_graph_function:
278
305
279
306
Functions listed in this file will cause the function graph
@@ -1183,6 +1210,8 @@ Here are the available options:
1183
1210
tasks fork. Also, when tasks with PIDs in set_event_pid exit,
1184
1211
their PIDs will be removed from the file.
1185
1212
1213
+ This affects PIDs listed in set_event_notrace_pid as well.
1214
+
1186
1215
function-trace
1187
1216
The latency tracers will enable function tracing
1188
1217
if this option is enabled (default it is). When
@@ -1197,6 +1226,8 @@ Here are the available options:
1197
1226
set_ftrace_pid exit, their PIDs will be removed from the
1198
1227
file.
1199
1228
1229
+ This affects PIDs in set_ftrace_notrace_pid as well.
1230
+
1200
1231
display-graph
1201
1232
When set, the latency tracers (irqsoff, wakeup, etc) will
1202
1233
use function graph tracing instead of function tracing.
0 commit comments