]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86, ftrace, hw-branch-tracer: reset trace buffer on close
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 19 Jan 2009 09:33:31 +0000 (10:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 20 Jan 2009 12:03:55 +0000 (13:03 +0100)
commite23b8ad83430a6fdfbdbfac365f5b0312dd57f10
tree3a3d623f800880dfc37a12ddb35a9887dacb98fe
parentb1818748b0cf9427e48acf9713295e829a0d715f
x86, ftrace, hw-branch-tracer: reset trace buffer on close

Reset the ftrace buffer on close. Since we use cyclic buffers, the
trace is not contiguous, anyway.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_hw_branches.c