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

From: Tim Bird
Date: Tue Jan 12 2010 - 14:12:55 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/