tracing: Make syscall events suitable for multiple buffers
authorSteven Rostedt <srostedt@redhat.com>
Wed, 8 Aug 2012 18:48:20 +0000 (14:48 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:44 +0000 (00:34 -0400)
commit12ab74ee00d154bc05ea2fc659b7ce6519e5d5a6
treed123285199790583ca792a1c80cb75ba440425b9
parenta7603ff4b5f7e26e67af82a4c3d05eeeb8d7b160
tracing: Make syscall events suitable for multiple buffers

Currently the syscall events record into the global buffer. But if
multiple buffers are in place, then we need to have syscall events
record in the proper buffers.

By adding descriptors to pass to the syscall event functions, the
syscall events can now record into the buffers that have been assigned
to them (one event may be applied to mulitple buffers).

This will allow tracing high volume syscalls along with seldom occurring
syscalls without losing the seldom syscall events.

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