From: Steven Rostedt Date: Wed, 18 Mar 2009 14:40:24 +0000 (-0400) Subject: tracing: give easy way to clear trace buffer X-Git-Tag: v2.6.30-rc1~2^2~21^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4acd4d00f716873e27e7b60ae292cbdbfae674dd;p=pandora-kernel.git tracing: give easy way to clear trace buffer There is currently no easy way to clear the trace buffer. Currently the only way is to change the current tracer. This patch lets the user clear the trace buffer by simply writing into the trace files. echo > /debug/tracing/trace or to clear a single cpu (i.e. for CPU 1): echo > /debug/tracing/per_cpu/cpu1/trace Requested-by: Ingo Molnar Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed