diff options
Diffstat (limited to 'arch/x86/Kconfig.cpu')
-rw-r--r-- | arch/x86/Kconfig.cpu | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 2ad6301849a1..13f3f8bebfd1 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -415,3 +415,21 @@ config X86_MINIMUM_CPU_FAMILY | |||
415 | config X86_DEBUGCTLMSR | 415 | config X86_DEBUGCTLMSR |
416 | def_bool y | 416 | def_bool y |
417 | depends on !(M586MMX || M586TSC || M586 || M486 || M386) | 417 | depends on !(M586MMX || M586TSC || M586 || M486 || M386) |
418 | |||
419 | config X86_DS | ||
420 | bool "Debug Store support" | ||
421 | default y | ||
422 | help | ||
423 | Add support for Debug Store. | ||
424 | This allows the kernel to provide a memory buffer to the hardware | ||
425 | to store various profiling and tracing events. | ||
426 | |||
427 | config X86_PTRACE_BTS | ||
428 | bool "ptrace interface to Branch Trace Store" | ||
429 | default y | ||
430 | depends on (X86_DS && X86_DEBUGCTLMSR) | ||
431 | help | ||
432 | Add a ptrace interface to allow collecting an execution trace | ||
433 | of the traced task. | ||
434 | This collects control flow changes in a (cyclic) buffer and allows | ||
435 | debuggers to fill in the gaps and show an execution trace of the debuggee. | ||