diff options
author | 2016-12-09 21:50:17 +0530 | |
---|---|---|
committer | 2016-12-12 13:51:02 -0500 | |
commit | c59f29cb144a6a0dfac16ede9dc8eafc02dc56ca (patch) | |
tree | 54eb12f59132eea62dd2f71a9ddf3c56940d9aa1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing/fgraph: Have wakeup and irqsoff tracers ignore graph functions too (diff) | |
download | wireguard-linux-c59f29cb144a6a0dfac16ede9dc8eafc02dc56ca.tar.xz wireguard-linux-c59f29cb144a6a0dfac16ede9dc8eafc02dc56ca.zip |
tracing: Use SOFTIRQ_OFFSET for softirq dectection for more accurate results
The 's' flag is supposed to indicate that a softirq is running. This
can be detected by testing the preempt_count with SOFTIRQ_OFFSET.
The current code tests the preempt_count with SOFTIRQ_MASK, which
would be true even when softirqs are disabled but not serving a
softirq.
Link: http://lkml.kernel.org/r/1481300417-3564-1-git-send-email-pkondeti@codeaurora.org
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions