From: Steven Rostedt Date: Thu, 8 Oct 2009 01:53:41 +0000 (-0400) Subject: tracing: user local buffer variable for trace branch tracer X-Git-Tag: v2.6.32-rc4~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f6e8a314ab37cadd72da5ace9027f2d04aba854;p=pandora-kernel.git 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 --- Reading git-diff-tree failed