ftrace: add ability to only trace swapper tasks
authorSteven Rostedt <srostedt@redhat.com>
Thu, 4 Dec 2008 05:26:41 +0000 (00:26 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 08:09:38 +0000 (09:09 +0100)
commite32d89569128e76bdf84867be0928902ca9f7555
treef82014ad89c0cf6f392778d9abb6060a04d458e6
parent978f3a45d9499c7a447ca7615455cefb63d44165
ftrace: add ability to only trace swapper tasks

Impact: new feature

This patch lets the swapper tasks of all CPUS be filtered by the
set_ftrace_pid file.

If '0' is echoed into this file, then all the idle tasks (aka swapper)
is flagged to be traced.  This affects all CPU idle tasks.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c