]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: use task struct trace flag to filter on pid
authorSteven Rostedt <srostedt@redhat.com>
Wed, 3 Dec 2008 20:36:58 +0000 (15:36 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 08:09:35 +0000 (09:09 +0100)
commit0ef8cde56ab92ab3f65221246dc1622c6b5068b3
tree47bbb117a76146a5f5b949f00cf743dd3b31f873
parentea4e2bc4d9f7370e57a343ccb5e7c0ad3222ec3c
ftrace: use task struct trace flag to filter on pid

Impact: clean up

Use the new task struct trace flags to determine if a process should be
traced or not.

Note: this moves the searching of the pid to the slow path of setting
the pid field. This needs to be converted to the pid name space.

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