diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-11-25 09:24:15 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-25 17:31:13 +0100 |
commit | 1e9b51c28312f7334394aa30be56ff52c2b65b7e (patch) | |
tree | c0a231d83541263ee938e3452475409323e4e9a9 /arch/x86/Kconfig.cpu | |
parent | 8bba1bf5e2434c83f2fe8b1422604ace9bbe4cb8 (diff) | |
download | linux-stable-1e9b51c28312f7334394aa30be56ff52c2b65b7e.tar.gz linux-stable-1e9b51c28312f7334394aa30be56ff52c2b65b7e.tar.bz2 linux-stable-1e9b51c28312f7334394aa30be56ff52c2b65b7e.zip |
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 'arch/x86/Kconfig.cpu')
-rw-r--r-- | arch/x86/Kconfig.cpu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index b815664fe370..85a78575956c 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -515,6 +515,7 @@ config CPU_SUP_UMC_32 config X86_DS def_bool X86_PTRACE_BTS depends on X86_DEBUGCTLMSR + select HAVE_HW_BRANCH_TRACER config X86_PTRACE_BTS bool "Branch Trace Store" |