tracing: Move filtered_pid helper functions into trace.c
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Apr 2016 16:15:22 +0000 (12:15 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 20 Jun 2016 13:54:17 +0000 (09:54 -0400)
commitd8275c454dcdba296675221b4c12f19d1b6e0ee8
treec45950295f659f86cb67b7d8f035663b98840e9a
parent4e267db135c44d0b18e553899fe7df32b89211a5
tracing: Move filtered_pid helper functions into trace.c

As the filtered_pid functions are going to be used by function tracer as
well as trace_events, move the code into the generic trace.c file.

The functions moved are:

 trace_find_filtered_pid()
 trace_ignore_this_task()
 trace_filter_add_remove_task()

Kernel Doc text was also added.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace_events.c