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

Steven Rostedt
2009-07-24T02:11:44Z

On Fri, 24 Jul 2009, Xiao Guangrong wrote:
> Steven Rostedt wrote:
> >
> > 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.
> >
>
> Hi Steven,
>
> Could you have a look at other 2 patches in this series:
>
> [PATCH 1/3] tracing/ksym_tracer: fix the output of ksym tracer
> [PATCH 2/3] tracing/ksym_tracer: fix write operation of ksym_trace_filter
>
> I think those fix is valuable, and K.Prasad has no objection.

Ah, sorry for the confusion. I've queued up the entire series. I'm just
playing with it now, and will post a pull request shortly.

-- Steve