aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2009-09-04 18:11:34 +0000
committerSteven Rostedt <[email protected]>2009-09-04 23:38:42 +0000
commit62f0b3eb5cb58931a02ee4e599e19c80a171e351 (patch)
tree344b3b8f55e6162f7fa08316aa6fde333b304c04 /lib/debugobjects.c
parenttracing: report error in trace if we fail to swap latency buffer (diff)
downloadkernel-62f0b3eb5cb58931a02ee4e599e19c80a171e351.tar.gz
kernel-62f0b3eb5cb58931a02ee4e599e19c80a171e351.zip
ring-buffer: check for swapped buffers in start of committing
Because the irqsoff tracer can swap an internal CPU buffer, it is possible that a swap happens between the start of the write and before the committing bit is set (the committing bit will disable swapping). This patch adds a check for this and will fail the write if it detects it. Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions