aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <[email protected]>2016-12-09 16:20:17 +0000
committerSteven Rostedt <[email protected]>2016-12-12 18:51:02 +0000
commitc59f29cb144a6a0dfac16ede9dc8eafc02dc56ca (patch)
tree54eb12f59132eea62dd2f71a9ddf3c56940d9aa1 /net/unix/af_unix.c
parenttracing/fgraph: Have wakeup and irqsoff tracers ignore graph functions too (diff)
downloadkernel-c59f29cb144a6a0dfac16ede9dc8eafc02dc56ca.tar.gz
kernel-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/[email protected] Signed-off-by: Pavankumar Kondeti <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions