]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64078cbcf34b5a2e0f3e07c2c462c94d27be680d
treed123285199790583ca792a1c80cb75ba440425b9
parent8db2e35a7347e0c933990841bc6962e8d3388ad3
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