From: Heiko Carstens Date: Thu, 18 Feb 2010 13:25:21 +0000 (+0100) Subject: tracing/kprobes: Add short documentation for HAVE_REGS_AND_STACK_ACCESS_API X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e01292b1fd68ff2abe234d584b06e64344d2c1de;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Heiko Carstens Acked-by: Masami Hiramatsu Cc: Martin Schwidefsky Cc: "David S . Miller" Cc: Paul Mundt Cc: Steven Rostedt LKML-Reference: <20100218132521.GB2406@osiris.boeblingen.de.ibm.com> [added reference to ptrace.h in the config help] Signed-off-by: Frederic Weisbecker --- 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 config HAVE_REGS_AND_STACK_ACCESS_API bool + help + This symbol should be selected by an architecure if it supports + the API needed to access registers and stack entries from pt_regs, + declared in asm/ptrace.h + For example the kprobes-based event tracer needs this API. config HAVE_CLK bool