aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2008-11-25 03:24:15 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-25 11:31:13 -0500
commit1e9b51c28312f7334394aa30be56ff52c2b65b7e (patch)
treec0a231d83541263ee938e3452475409323e4e9a9 /kernel/trace/Kconfig
parent8bba1bf5e2434c83f2fe8b1422604ace9bbe4cb8 (diff)
x86, bts, ftrace: a BTS ftrace plug-in prototype
Impact: add new ftrace plugin A prototype for a BTS ftrace plug-in. The tracer collects branch trace in a cyclic buffer for each cpu. The tracer is not configurable and the trace for each snapshot is appended when doing cat /debug/tracing/trace. This is a proof of concept that will be extended with future patches to become a (hopefully) useful tool. Signed-off-by: Markus Metzger <markus.t.metzger@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 9cbf7761f498..620feadff67a 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -28,6 +28,9 @@ config HAVE_DYNAMIC_FTRACE
28config HAVE_FTRACE_MCOUNT_RECORD 28config HAVE_FTRACE_MCOUNT_RECORD
29 bool 29 bool
30 30
31config HAVE_HW_BRANCH_TRACER
32 bool
33
31config TRACER_MAX_TRACE 34config TRACER_MAX_TRACE
32 bool 35 bool
33 36
@@ -233,6 +236,14 @@ config STACK_TRACER
233 236
234 Say N if unsure. 237 Say N if unsure.
235 238
239config BTS_TRACER
240 depends on HAVE_HW_BRANCH_TRACER
241 bool "Trace branches"
242 select TRACING
243 help
244 This tracer records all branches on the system in a circular
245 buffer giving access to the last N branches for each cpu.
246
236config DYNAMIC_FTRACE 247config DYNAMIC_FTRACE
237 bool "enable/disable ftrace tracepoints dynamically" 248 bool "enable/disable ftrace tracepoints dynamically"
238 depends on FUNCTION_TRACER 249 depends on FUNCTION_TRACER