Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118126
b: refs/heads/master
c: 531f6ed
h: refs/heads/master
v: v3
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Oct 28, 2008
1 parent bf50d86 commit 9b5ab18
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71cced6eb044f5b096d35755963f3a2035603b73
refs/heads/master: 531f6ed7de911e975352fbb2b228367121da630a
24 changes: 12 additions & 12 deletions trunk/arch/x86/Kconfig.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -513,19 +513,19 @@ config CPU_SUP_UMC_32
If unsure, say N.

config X86_DS
bool "Debug Store support"
default y
help
Add support for Debug Store.
This allows the kernel to provide a memory buffer to the hardware
to store various profiling and tracing events.
def_bool X86_PTRACE_BTS
depends on X86_DEBUGCTLMSR

config X86_PTRACE_BTS
bool "ptrace interface to Branch Trace Store"
bool "Branch Trace Store"
default y
depends on (X86_DS && X86_DEBUGCTLMSR)
depends on X86_DEBUGCTLMSR
help
Add a ptrace interface to allow collecting an execution trace
of the traced task.
This collects control flow changes in a (cyclic) buffer and allows
debuggers to fill in the gaps and show an execution trace of the debuggee.
This adds a ptrace interface to the hardware's branch trace store.

Debuggers may use it to collect an execution trace of the debugged
application in order to answer the question 'how did I get here?'.
Debuggers may trace user mode as well as kernel mode.

Say Y unless there is no application development on this machine
and you want to save a small amount of code size.

0 comments on commit 9b5ab18

Please sign in to comment.