[RFC] [PATCH 7/7] Ftrace plugin for Uprobes

Tim Bird tim.bird at am.sony.com
Tue Jan 12 19:12:18 UTC 2010


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
=============================




More information about the utrace-devel mailing list