Skip to content

Commit

Permalink
tracing, perf_counter: Add help text to CONFIG_EVENT_PROFILE
Browse files Browse the repository at this point in the history
Explain what tracepoint profiling sources are about.

Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
LKML-Reference: <1248856508.6987.3041.camel@twins>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Aug 2, 2009
1 parent 2d1b694 commit 470a139
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -961,9 +961,17 @@ config PERF_COUNTERS
Say Y if unsure.

config EVENT_PROFILE
bool "Tracepoint profile sources"
bool "Tracepoint profiling sources"
depends on PERF_COUNTERS && EVENT_TRACING
default y
help
Allow the use of tracepoints as software performance counters.

When this is enabled, you can create perf counters based on
tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID
found in debugfs://tracing/events/*/*/id. (The -e/--events
option to the perf tool can parse and interpret symbolic
tracepoints, in the subsystem:tracepoint_name format.)

endmenu

Expand Down

0 comments on commit 470a139

Please sign in to comment.