]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: reset selftests
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:20:45 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 18:41:29 +0000 (20:41 +0200)
commit1d4db00a5e30c7b8f8dc2a1b19e886fd942be143
tree3a1619ad932674ccaccbf489949c4a14c0e6a494
parent08bafa0efcf29fe18ec39c2147077b597368b018
ftrace: reset selftests

The tests may leave stuff in the buffers. This resets the buffers
after each test is run. If a test fails, it does not reset the
buffer to avoid touching a buffer that is corrupted.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c