Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 531f6ed7 authored by Markus Metzger's avatar Markus Metzger Committed by Ingo Molnar
Browse files

x86, bts: improve help text for BTS config



Improve the help text of the X86_PTRACE_BTS config.
Make X86_DS invisible and depend on X86_PTRACE_BTS.

Reported-by: default avatarRoland Dreier <rdreier@cisco.com>
Signed-off-by: default avatarMarkus Metzger <markus.t.metzger@intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 71cced6e
Loading
Loading
Loading
Loading
+12 −12
Original line number Original line Diff line number Diff line
@@ -513,19 +513,19 @@ config CPU_SUP_UMC_32
	  If unsure, say N.
	  If unsure, say N.


config X86_DS
config X86_DS
	bool "Debug Store support"
	def_bool X86_PTRACE_BTS
	default y
	depends on X86_DEBUGCTLMSR
	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.


config X86_PTRACE_BTS
config X86_PTRACE_BTS
	bool "ptrace interface to Branch Trace Store"
	bool "Branch Trace Store"
	default y
	default y
	depends on (X86_DS && X86_DEBUGCTLMSR)
	depends on X86_DEBUGCTLMSR
	help
	help
	  Add a ptrace interface to allow collecting an execution trace
	  This adds a ptrace interface to the hardware's branch trace store.
	  of the traced task.

	  This collects control flow changes in a (cyclic) buffer and allows
	  Debuggers may use it to collect an execution trace of the debugged
	  debuggers to fill in the gaps and show an execution trace of the debuggee.
	  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.