]> git.baikalelectronics.ru Git - kernel.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)
commit192e77d24504d94c78aa4c4dc8518a4e2d81ba5b
tree3a1619ad932674ccaccbf489949c4a14c0e6a494
parente50af7198e103f7787a3ab60174ee2fb83a2f90f
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