diff options
author | 2009-10-07 21:53:41 -0400 | |
---|---|---|
committer | 2009-10-07 21:53:41 -0400 | |
commit | 8f6e8a314ab37cadd72da5ace9027f2d04aba854 (patch) | |
tree | 2ce9adc1a11cd6d31742d07a557b787d6f0ceb74 /arch/x86/mm/fault.c | |
parent | tracing: fix warning on kernel/trace/trace_branch.c andtrace_hw_branches.c (diff) | |
download | linux-dev-8f6e8a314ab37cadd72da5ace9027f2d04aba854.tar.xz linux-dev-8f6e8a314ab37cadd72da5ace9027f2d04aba854.zip |
tracing: user local buffer variable for trace branch tracer
Just using the tr->buffer for the API to trace_buffer_lock_reserve
is not good enough. This is because the tr->buffer may change, and we
do not want to commit with a different buffer that we reserved from.
This patch uses a local variable to hold the buffer that was used to
reserve and commit with.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions