diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2009-07-23 12:01:22 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-07-23 20:54:40 -0400 |
commit | 75e33751ca8bbb72dd6f1a74d2810ddc8cbe4bdf (patch) | |
tree | 35402f5e41b3e823ceed21ee535045f39cd5465a /drivers/mfd/sm501.c | |
parent | 8e068542a8d9efec55126284d2f5cb32f003d507 (diff) |
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 <xiaoguangrong@cn.fujitsu.com>
LKML-Reference: <4A67E092.3080202@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions