summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-09-14 18:58:33 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-09-14 20:18:07 -0400
commitb304d0441a4118fadd4c3f16e4dc600c271030b5 (patch)
treeed477c965cf6eaf852f69f7dd855c0ea83f8e36d /fs/xfs/linux-2.6/xfs_buf.h
parent2bd16212b8eb86f9574e78d6605a5ba9e9aa8c4e (diff)
downloadop-kernel-dev-b304d0441a4118fadd4c3f16e4dc600c271030b5.zip
op-kernel-dev-b304d0441a4118fadd4c3f16e4dc600c271030b5.tar.gz
tracing: Do not trace in irq when funcgraph-irq option is zero
When the function graph tracer funcgraph-irq option is zero, disable tracing in IRQs. This makes the option have two effects. 1) When reading the trace file, do not display the functions that happen in interrupt context (when detected) 2) [*new*] When recording a trace, skip those that are detected to be in interrupt by the 'in_irq()' function Note, in_irq() is updated at irq_enter() and irq_exit(). There are still functions that are recorded by the function graph tracer that is in interrupt context but outside the irq_enter/exit() routines. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud