OSDN Git Service

tracing: Use the ring-buffer nesting to allow synthetic events to be traced
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 7 Feb 2018 22:29:46 +0000 (17:29 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 10 Mar 2018 21:06:04 +0000 (16:06 -0500)
commit4708abc6c68b41a656afb431818d5c57d7fdfd24
tree485d6715b9f246273917ee904e2d7ccd2b3abfde
parent8e012066fe0de5ff5be606836f9075511bce5604
tracing: Use the ring-buffer nesting to allow synthetic events to be traced

Synthetic events can be done within the recording of other events. Notify
the ring buffer via ring_buffer_nest_start() and ring_buffer_nest_end() that
this is intended and not to block it due to its recursion protection.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_hist.c