diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-06 09:14:26 +0300 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-08 04:02:55 +0300 |
commit | 9a5fd902273d01170fd033691bd70b142baa7309 (patch) | |
tree | f3364fa8917db8eadc5235f77b5245081c0cc028 /include/linux/ftrace_irq.h | |
parent | 375b38b4214f29109a393ab762d468054bf52354 (diff) | |
download | linux-9a5fd902273d01170fd033691bd70b142baa7309.tar.xz |
ftrace: change function graph tracer to use new in_nmi
The function graph tracer piggy backed onto the dynamic ftracer
to use the in_nmi custom code for dynamic tracing. The problem
was (as Andrew Morton pointed out) it really only wanted to bail
out if the context of the current CPU was in NMI context. But the
dynamic ftrace in_nmi custom code was true if _any_ CPU happened
to be in NMI context.
Now that we have a generic in_nmi interface, this patch changes
the function graph code to use it instead of the dynamic ftarce
custom code.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux/ftrace_irq.h')
0 files changed, 0 insertions, 0 deletions