Re: [PATCH 3/3] tracing/ksym_tracer: support quick clear for ksym_trace_filter -- v2

Steven Rostedt
2009-07-24T00:46:30Z

On Thu, 23 Jul 2009, Xiao Guangrong wrote:

> It's rather bored to clear symbol one by one in ksym_trace_filter
> file, so, this patch can let ksym_trace_filter file support quick
> clear, we can write "0" to this file, it can 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 way to clear all breakpoints by writing NULL or "*:---"
> to ksym_trace_filter file base on K.Prasad's suggestion

Thanks guys, I'll go ahead and queue this up for 32.

-- Steve