16 Jun, 2009

1 commit

  • Many developers use "/debug/" or "/debugfs/" or "/sys/kernel/debug/"
    directory name to mount debugfs filesystem for ftrace according to
    ./Documentation/tracers/ftrace.txt file.

    And, three directory names(ex:/debug/, /debugfs/, /sys/kernel/debug/) is
    existed in kernel source like ftrace, DRM, Wireless, Documentation,
    Network[sky2]files to mount debugfs filesystem.

    debugfs means debug filesystem for debugging easy to use by greg kroah
    hartman. "/sys/kernel/debug/" name is suitable as directory name
    of debugfs filesystem.
    - debugfs related reference: http://lwn.net/Articles/334546/

    Fix inconsistency of directory name to mount debugfs filesystem.

    * From Steven Rostedt
    - find_debugfs() and tracing_files() in this patch.

    Signed-off-by: GeunSik Lim
    Acked-by : Inaky Perez-Gonzalez
    Reviewed-by : Steven Rostedt
    Reviewed-by : James Smart
    CC: Jiri Kosina
    CC: David Airlie
    CC: Peter Osterlund
    CC: Ananth N Mavinakayanahalli
    CC: Anil S Keshavamurthy
    CC: Masami Hiramatsu
    Signed-off-by: Greg Kroah-Hartman

    GeunSik Lim
     

13 Jun, 2009

2 commits


11 Jun, 2009

2 commits

  • * 'tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (244 commits)
    Revert "x86, bts: reenable ptrace branch trace support"
    tracing: do not translate event helper macros in print format
    ftrace/documentation: fix typo in function grapher name
    tracing/events: convert block trace points to TRACE_EVENT(), fix !CONFIG_BLOCK
    tracing: add protection around module events unload
    tracing: add trace_seq_vprint interface
    tracing: fix the block trace points print size
    tracing/events: convert block trace points to TRACE_EVENT()
    ring-buffer: fix ret in rb_add_time_stamp
    ring-buffer: pass in lockdep class key for reader_lock
    tracing: add annotation to what type of stack trace is recorded
    tracing: fix multiple use of __print_flags and __print_symbolic
    tracing/events: fix output format of user stack
    tracing/events: fix output format of kernel stack
    tracing/trace_stack: fix the number of entries in the header
    ring-buffer: discard timestamps that are at the start of the buffer
    ring-buffer: try to discard unneeded timestamps
    ring-buffer: fix bug in ring_buffer_discard_commit
    ftrace: do not profile functions when disabled
    tracing: make trace pipe recognize latency format flag
    ...

    Linus Torvalds
     
  • The function graph tracer is called just "function_graph" (no trailing
    "_tracer" needed).

    Signed-off-by: Mike Frysinger
    LKML-Reference:
    Signed-off-by: Steven Rostedt

    Mike Frysinger
     

29 May, 2009

1 commit

  • Fix typo about chart to map the kernel priority to user land priorities.

    * About sched_setscheduler(2)
    Processes scheduled under SCHED_FIFO or SCHED_RR
    can have a (user-space) static priority in the range 1 to 99.
    (reference: http://www.kernel.org/doc/man-pages/online/pages/
    man2/sched_setscheduler.2.html)

    * From: Steven Rostedt
    0 to 98 - maps to RT tasks 99 to 1 (SCHED_RR or SCHED_FIFO)

    99 - maps to internal kernel threads that want to be lower than RT tasks
    but higher than SCHED_OTHER tasks. Although I'm not sure if any
    kernel thread actually uses this. I'm not even sure how this can be
    set, because the internal sched_setscheduler function does not allow
    for it.

    100 to 139 - maps nice levels -20 to 19. These are not set via
    sched_setscheduler, but are set via the nice system call.

    140 - reserved for idle tasks.

    Signed-off-by: GeunSik Lim
    Acked-by: Steven Rostedt
    Signed-off-by: Peter Zijlstra
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    GeunSik Lim
     

19 May, 2009

1 commit

  • - fix some typos
    - document the difference between '>' and '>>'
    - document the 'enable' toggle
    - remove section "Defining an event-enabled tracepoint", since it's
    out-dated and sample/trace_events/ already serves this purpose.

    v2: add "Updated by Li Zefan"

    [ Impact: make documentation up-to-date ]

    Signed-off-by: Li Zefan
    Cc: Steven Rostedt
    Cc: Frederic Weisbecker
    Cc: "Theodore Ts'o"
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Li Zefan
     

12 Apr, 2009

2 commits


09 Apr, 2009

1 commit

  • Move kmemtrace.txt, tracepoints.txt, ftrace.txt and mmiotrace.txt to
    the new trace/ directory.

    I didnt find any references to those documents in both source
    files and documents, so no extra work needs to be done.

    Signed-off-by: Li Zefan
    Acked-by: Pekka Paalanen
    Cc: Steven Rostedt
    Cc: Frederic Weisbecker
    Cc: Mathieu Desnoyers
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Li Zefan