Searched hist:"8 e012066fe0de5ff5be606836f9075511bce5604" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | ring_buffer.h | diff 8e012066fe0de5ff5be606836f9075511bce5604 Wed Feb 07 16:26:32 CST 2018 Steven Rostedt (VMware) <rostedt@goodmis.org> ring-buffer: Add nesting for adding events within events
The ring-buffer code has recusion protection in case tracing ends up tracing itself, the ring-buffer will detect that it was called at the same context (normal, softirq, interrupt or NMI), and not continue to record the event.
With the histogram synthetic events, they are called while tracing another event at the same context. The recusion protection triggers because it detects tracing at the same context and stops it.
Add ring_buffer_nest_start() and ring_buffer_nest_end() that will notify the ring buffer that a trace is about to happen within another trace and that it is intended, and not to trigger the recursion blocking.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
|
/openbmc/linux/kernel/trace/ |
H A D | ring_buffer.c | diff 8e012066fe0de5ff5be606836f9075511bce5604 Wed Feb 07 16:26:32 CST 2018 Steven Rostedt (VMware) <rostedt@goodmis.org> ring-buffer: Add nesting for adding events within events
The ring-buffer code has recusion protection in case tracing ends up tracing itself, the ring-buffer will detect that it was called at the same context (normal, softirq, interrupt or NMI), and not continue to record the event.
With the histogram synthetic events, they are called while tracing another event at the same context. The recusion protection triggers because it detects tracing at the same context and stops it.
Add ring_buffer_nest_start() and ring_buffer_nest_end() that will notify the ring buffer that a trace is about to happen within another trace and that it is intended, and not to trigger the recursion blocking.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
|