Li Zefan
18cea4591a
blktrace: print out BLK_TN_MESSAGE properly
Impact: improve ftrace plugin output
Before this patch:
# cat trace
make-5383 [001] 741.240059: 8,7 P N [make]
__trace_note_message: cfq1074
# echo 1 > options/blk_classic
# cat trace
8,7 1 0.692221252 0 C W 130411392 + 1024 [0]
Bad pc action 6361
Bad pc action 283d
# echo 0 > options/blk_classic
# echo bin > trace_options
# cat trace_pipe | blkparse -i -
(can't parse messages generated by blk_add_trace_msg())
After this patch:
# cat trace
<idle>-0 [001] 187.600933: 8,7 C W 145220224 + 8 [0]
<idle>-0 [001] 187.600946: 8,7 m N cfq1076 complete
# echo 1 > options/blk_classic
# cat trace
8,7 1 0.256378996 238 I W 113190728 + 8 [pdflush]
8,7 1 0.256378998 238 m N cfq1076 insert_request
# echo 0 > options/blk_classic
# echo bin > trace_options
# cat trace_pipe | blkparse -i -
8,7 1 0 22.973250293 0 C W 102770576 + 8 [0]
8,7 1 0 22.973259213 0 m N cfq1076 complete
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
2009-03-31 17:29:11 +02:00 |
| .. |
|
blktrace.c
|
blktrace: print out BLK_TN_MESSAGE properly
|
2009-03-31 17:29:11 +02:00 |
|
events.c
|
tracing: use generic __stringify
|
2009-03-10 00:35:05 -04:00 |
|
ftrace.c
|
tracing/ftrace: fix the check on nopped sites
|
2009-03-16 22:15:36 -04:00 |
|
Kconfig
|
tracing/syscalls: select kallsysms
|
2009-03-16 09:13:17 +01:00 |
|
kmemtrace.c
|
|
|
|
Makefile
|
tracing/ftrace: syscall tracing infrastructure, basics
|
2009-03-13 06:25:43 +01:00 |
|
ring_buffer.c
|
tracing/ring-buffer: fix non cpu hotplug case
|
2009-03-19 16:41:08 +01:00 |
|
trace.c
|
Merge branches 'tracing/ftrace', 'tracing/kprobes', 'tracing/tasks' and 'linus' into tracing/core
|
2009-03-20 10:14:53 +01:00 |
|
trace.h
|
Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
|
2009-03-18 06:59:56 +01:00 |
|
trace_boot.c
|
|
|
|
trace_branch.c
|
tracing: remove funky whitespace in the trace code
|
2009-03-10 14:13:14 -04:00 |
|
trace_clock.c
|
trace_clock: fix preemption bug
|
2009-03-10 20:03:01 +01:00 |
|
trace_event_types.h
|
tracing: make bprint event use the proper event id
|
2009-03-12 21:15:00 -04:00 |
|
trace_events.c
|
tracing: fix leak in event_format_read()
|
2009-03-17 08:38:23 +01:00 |
|
trace_events_stage_1.h
|
tracing: update comments to match event code macros
|
2009-03-10 13:12:58 -04:00 |
|
trace_events_stage_2.h
|
tracing: show event name in trace for TRACE_EVENT created events
|
2009-03-12 22:00:19 -04:00 |
|
trace_events_stage_3.h
|
tracing: remove funky whitespace in the trace code
|
2009-03-10 14:13:14 -04:00 |
|
trace_export.c
|
tracing: remove funky whitespace in the trace code
|
2009-03-10 14:13:14 -04:00 |
|
trace_functions.c
|
|
|
|
trace_functions_graph.c
|
tracing: protect reader of cmdline output
|
2009-03-16 23:27:06 -04:00 |
|
trace_hw_branches.c
|
|
|
|
trace_irqsoff.c
|
tracing: have latency tracers set the latency format
|
2009-03-04 22:15:30 -05:00 |
|
trace_mmiotrace.c
|
tracing/core: bring back raw trace_printk for dynamic formats strings
|
2009-03-12 21:15:00 -04:00 |
|
trace_nop.c
|
|
|
|
trace_output.c
|
tracing: protect reader of cmdline output
|
2009-03-16 23:27:06 -04:00 |
|
trace_output.h
|
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
|
2009-03-06 17:59:12 +01:00 |
|
trace_power.c
|
tracing: make power tracer start/stop methods lighter weight
|
2009-03-17 23:12:11 -04:00 |
|
trace_printk.c
|
tracing: export trace formats to user space
|
2009-03-12 21:15:01 -04:00 |
|
trace_sched_switch.c
|
tracing: make sched_switch stop/start light weight
|
2009-03-17 23:10:45 -04:00 |
|
trace_sched_wakeup.c
|
tracing: have latency tracers set the latency format
|
2009-03-04 22:15:30 -05:00 |
|
trace_selftest.c
|
tracing/ftrace: stop {irqs, preempt}soff tracers when tracing is stopped
|
2009-03-18 10:12:38 +01:00 |
|
trace_selftest_dynamic.c
|
|
|
|
trace_stack.c
|
tracing: left align location header in stack_trace
|
2009-03-13 00:00:58 -04:00 |
|
trace_stat.c
|
|
|
|
trace_stat.h
|
|
|
|
trace_syscalls.c
|
tracing/syscalls: protect thread flag toggling from races
|
2009-03-16 09:13:16 +01:00 |
|
trace_sysprof.c
|
tracing: make all file_operations const
|
2009-03-05 21:46:40 -05:00 |
|
trace_workqueue.c
|
tracing: Don't use tracing_record_cmdline() in workqueue tracer fix
|
2009-03-12 21:23:47 -04:00 |