diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-10-05 19:41:43 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-18 10:53:36 -0400 |
commit | 5e6d2b9cfa3a6e7fe62fc0135bc1bd778f5db564 (patch) | |
tree | 5ef2d83c172b0e22dea1532d33e491471a1cc6e7 /kernel/trace/trace_functions_graph.c | |
parent | 542181d3769d001c59cd17573dd4381e87d215f2 (diff) | |
download | op-kernel-dev-5e6d2b9cfa3a6e7fe62fc0135bc1bd778f5db564.zip op-kernel-dev-5e6d2b9cfa3a6e7fe62fc0135bc1bd778f5db564.tar.gz |
tracing: Use one prologue for the preempt irqs off tracer function tracers
The preempt and irqsoff tracers have three types of function tracers.
Normal function tracer, function graph entry, and function graph return.
Each of these use a complex dance to prevent recursion and whether
to trace the data or not (depending if interrupts are enabled or not).
This patch moves the duplicate code into a single routine, to
prevent future mistakes with modifying duplicate complex code.
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions