From: Xiao Guangrong Date: Thu, 23 Jul 2009 04:01:22 +0000 (+0800) Subject: tracing/ksym_tracer: support quick clear for ksym_trace_filter -- v2 X-Git-Tag: v2.6.33-rc1~399^2~146^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75e33751ca8bbb72dd6f1a74d2810ddc8cbe4bdf;p=pandora-kernel.git tracing/ksym_tracer: support quick clear for ksym_trace_filter -- v2 It's rather boring to clear symbol one by one in ksym_trace_filter file, so, this patch will let ksym_trace_filter file support quickly clear all break points. We can write "0" to this file and it will clear all symbols for example: # cat ksym_trace_filter ksym_filter_head:rw- global_trace:rw- # echo 0 > ksym_trace_filter # cat ksym_trace_filter # Changelog v1->v2: Add other ways to clear all breakpoints by writing NULL or "*:---" to ksym_trace_filter file base on K.Prasad's suggestion Signed-off-by: Xiao Guangrong LKML-Reference: <4A67E092.3080202@cn.fujitsu.com> Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed