Re: [PATCH] ftrace: Documentation



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/



Relevant Pages

  • Re: [PATCH -v2] ftrace: Documentation
    ... implementation of the ftrace tool itself. ... This is a kernel ABI, ... trace_pipe acts different than trace. ... These tracers here are the ones that are in the ...
    (Linux-Kernel)
  • Re: 2.6.28-rc2-mm1: Build failure on fs/quota.o
    ... ftrace seems to be a particular culprit. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH 0/2] ftrace minor updates
    ... The following two patches help the latency tracers of ftrace. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: ftrace: fix depends
    ... Commit: c2db8054c1eaf99983d8deee347876b01c26c2cf ... A lot of tracers have HAVE_FTRACE as a dependent config where it ... The ftrace infrastructure is implemented in all archs. ... All other architectures will see something like this: ...
    (Linux-Kernel)
  • Re: [PATCH] ftrace: Documentation
    ... On Sat, 12 Jul 2008, Abhishek Sagar wrote: ... use ftrace and the various tracers. ... If you can think of a good way to expline this without "overloading" the ...
    (Linux-Kernel)