Skip to content

Commit

Permalink
blktrace: the ftrace interface needs CONFIG_TRACING
Browse files Browse the repository at this point in the history
Impact: build fix

Also mention in the help text that blktrace now can be used using
the ftrace interface.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jan 27, 2009
1 parent 157f9c0 commit 32c0bd9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ config BLK_DEV_IO_TRACE
select RELAY
select DEBUG_FS
select TRACEPOINTS
select TRACING
select STACKTRACE
help
Say Y here if you want to be able to trace the block layer actions
on a given queue. Tracing allows you to see any traffic happening
Expand All @@ -58,6 +60,12 @@ config BLK_DEV_IO_TRACE

git://git.kernel.dk/blktrace.git

Tracing also is possible using the ftrace interface, e.g.:

echo 1 > /sys/block/sda/sda1/trace/enable
echo blk > /sys/kernel/debug/tracing/current_tracer
cat /sys/kernel/debug/tracing/trace_pipe

If unsure, say N.

config BLK_DEV_BSG
Expand Down

0 comments on commit 32c0bd9

Please sign in to comment.