1. 27 Oct, 2008 2 commits
    • Steven Rostedt's avatar
      ftrace: ftrace dump on oops control · 944ac425
      Steven Rostedt authored
      Impact: add (default-off) dump-trace-on-oops flag
      
      Currently, ftrace is set up to dump its contents to the console if the
      kernel panics or oops. This can be annoying if you have trace data in
      the buffers and you experience an oops, but the trace data is old or
      static.
      
      Usually when you want ftrace to dump its contents is when you are debugging
      your system and you have set up ftrace to trace the events leading to
      an oops.
      
      This patch adds a control variable called "ftrace_dump_on_oops" that will
      enable the ftrace dump to console on oops. This variable is default off
      but a developer can enable it either through the kernel command line
      by adding "ftrace_dump_on_oops" or at run time by setting (or disabling)
      /proc/sys/kernel/ftrace_dump_on_oops.
      
      v2:
      
         Replaced /** with /* as Randy explained that kernel-doc does
          not yet handle variables.
      Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      944ac425
    • Frederic Weisbecker's avatar
      ftrace: add a script to produce a hierarchical view of a function trace · f4a2a0d9
      Frederic Weisbecker authored
      This script parses a function trace and then produces a hierarchical
      view of the function call stack after processing it into a tree.
      
      Changes on V2 thanks to the trace sent by Steven:
      
      - Support both the files "trace" and "trace_pipe" (comments and space
        differences)
      
      - Correct the mini HOW-TO at the beginning.
      Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      f4a2a0d9
  2. 26 Oct, 2008 29 commits
  3. 25 Oct, 2008 7 commits
  4. 24 Oct, 2008 2 commits