]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Move pid_list write processing into its own function
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 21 Apr 2016 15:35:30 +0000 (11:35 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 20 Jun 2016 13:54:18 +0000 (09:54 -0400)
commit8ceaef40fd011742d109d92041a7ad6bd188ed60
treee69cf6a6f21e4c9d9582a9cd9fb278c820057a13
parent7839b1b10aea4d40fd3835744d66fdaec6dee3b9
tracing: Move pid_list write processing into its own function

The addition of PIDs into a pid_list via the write operation of
set_event_pid is a bit complex. The same operation will be needed for
function tracing pids. Move the code into its own generic function in
trace.c, so that we can avoid duplication of this code.

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