Messages in this thread | | | Date | Fri, 28 Nov 2008 01:55:43 -0500 (EST) | From | Steven Rostedt <> | Subject | Re: [PATCH 1/1] ftrace: improve document |
| |
On Fri, 28 Nov 2008, walimis wrote: > > Signed-off-by: walimis <walimisdev@gmail.com> > Reviewed-by: Ingo Molnar <mingo@elte.hu> > Reviewed-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
-- Steve
> --- > Documentation/ftrace.txt | 8 ++++++-- > 1 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/Documentation/ftrace.txt b/Documentation/ftrace.txt > index de05042..803b131 100644 > --- a/Documentation/ftrace.txt > +++ b/Documentation/ftrace.txt > @@ -1251,7 +1251,11 @@ These are the only wild cards which are supported. > > <match>*<match> will not work. > > - # echo hrtimer_* > /debug/tracing/set_ftrace_filter > +Note: It is better to use quotes to enclose the wild cards, otherwise > + the shell may expand the parameters into names of files in the local > + directory. > + > + # echo 'hrtimer_*' > /debug/tracing/set_ftrace_filter > > Produces: > > @@ -1306,7 +1310,7 @@ Again, now we want to append. > # echo sys_nanosleep > /debug/tracing/set_ftrace_filter > # cat /debug/tracing/set_ftrace_filter > sys_nanosleep > - # echo hrtimer_* >> /debug/tracing/set_ftrace_filter > + # echo 'hrtimer_*' >> /debug/tracing/set_ftrace_filter > # cat /debug/tracing/set_ftrace_filter > hrtimer_run_queues > hrtimer_run_pending > -- > 1.6.0.3 > > >
| |