diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-02-18 08:25:21 -0500 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-02-22 11:05:51 -0500 |
commit | e01292b1fd68ff2abe234d584b06e64344d2c1de (patch) | |
tree | b9abd2012cc92740a216083ebd3fc3c92e7d84bc /arch | |
parent | 952974ac61f686896bd4134dae106a886a5589f1 (diff) |
tracing/kprobes: Add short documentation for HAVE_REGS_AND_STACK_ACCESS_API
So that arch developers know how to implement it without the
need to dig into changelogs.
Reported-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "David S . Miller" <davem@davemloft.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20100218132521.GB2406@osiris.boeblingen.de.ibm.com>
[added reference to ptrace.h in the config help]
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 04e3aa77da25..50877ef25844 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -123,6 +123,11 @@ config USE_GENERIC_SMP_HELPERS | |||
123 | 123 | ||
124 | config HAVE_REGS_AND_STACK_ACCESS_API | 124 | config HAVE_REGS_AND_STACK_ACCESS_API |
125 | bool | 125 | bool |
126 | help | ||
127 | This symbol should be selected by an architecure if it supports | ||
128 | the API needed to access registers and stack entries from pt_regs, | ||
129 | declared in asm/ptrace.h | ||
130 | For example the kprobes-based event tracer needs this API. | ||
126 | 131 | ||
127 | config HAVE_CLK | 132 | config HAVE_CLK |
128 | bool | 133 | bool |