Messages in this thread | | | Date | Tue, 12 Jan 2010 11:12:18 -0800 | From | Tim Bird <> | Subject | Re: [RFC] [PATCH 7/7] Ftrace plugin for Uprobes |
| |
Steven Rostedt wrote: > I do this all the time to limit the function tracer to a specific app. > > #!/bin/sh > echo $$ > /debug/tracing/set_ftrace_pid > echo function > /debug/tracing/current_tracer > exec $*
This seems pretty handy. You should put this in scripts/tracing. :-)
Do you have any other helper scripts you use commonly? -- Tim
============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Corporation of America =============================
| |