ftrace: Add 'function-fork' trace option
authorNamhyung Kim <namhyung@kernel.org>
Mon, 17 Apr 2017 02:44:28 +0000 (11:44 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 17 Apr 2017 21:13:00 +0000 (17:13 -0400)
commit1e10486ffee0a5b060c58b9c8c712422f7b88b3b
tree04dd3e900cf02e26033b976602f7ca78a467b84b
parentb980b117c9ff17226937128a15692a18c9a28ed6
ftrace: Add 'function-fork' trace option

The function-fork option is same as event-fork that it tracks task
fork/exit and set the pid filter properly.  This can be useful if user
wants to trace selected tasks including their children only.

Link: http://lkml.kernel.org/r/20170417024430.21194-3-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace.h