Re: [PATCH] ftrace: Documentation

From: Abhishek Sagar
Date: Sat Jul 12 2008 - 08:49:24 EST


On Thu, Jul 10, 2008 at 10:16 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> This is the long awaited ftrace.txt. It explains in quite detail how to
> use ftrace and the various tracers.

This is quite good. Thanks!

> +Output format:
> +--------------
> +
> +Here's an example of the output format of the file "trace"
> +
> + --------
> +# tracer: ftrace
> +#
> +# TASK-PID CPU# TIMESTAMP FUNCTION
> +# | | | | |
> + bash-4251 [01] 10152.583854: path_put <-path_walk
> + bash-4251 [01] 10152.583855: dput <-path_put
> + bash-4251 [01] 10152.583855: _atomic_dec_and_lock <-dput
> + --------

A small caveat here...the function names may be substituted with a
"[unkown/kretprobe'd]" under special circumstances
(http://lkml.org/lkml/2008/5/27/275). May be that should be mentioned
here?

--
Regards,
Abhishek
--
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/