From d51a9d9744479f132906c6c0f7c8c2ec91753fd0 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Mon, 3 Dec 2007 17:15:52 -0500 Subject: [PATCH] --- yaml --- r: 77453 b: refs/heads/master c: 5de865b4c5af253db19bdae3c0553952dc7eda1d h: refs/heads/master i: 77451: 7ccbd30225c37c287519fa0bf9d592dc83dd533e v: v3 --- [refs] | 2 +- trunk/Documentation/kprobes.txt | 1 + trunk/arch/arm/Kconfig.instrumentation | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 612f65e09907..6456860c5145 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 796969104cab0d454dbc792ad0d12a4f365a8564 +refs/heads/master: 5de865b4c5af253db19bdae3c0553952dc7eda1d diff --git a/trunk/Documentation/kprobes.txt b/trunk/Documentation/kprobes.txt index cb12ae175aa2..53a63890aea4 100644 --- a/trunk/Documentation/kprobes.txt +++ b/trunk/Documentation/kprobes.txt @@ -141,6 +141,7 @@ architectures: - ppc64 - ia64 (Does not support probes on instruction slot1.) - sparc64 (Return probes not yet implemented.) +- arm 3. Configuring Kprobes diff --git a/trunk/arch/arm/Kconfig.instrumentation b/trunk/arch/arm/Kconfig.instrumentation index 63b8c6d5606a..453ad8e15d69 100644 --- a/trunk/arch/arm/Kconfig.instrumentation +++ b/trunk/arch/arm/Kconfig.instrumentation @@ -43,6 +43,16 @@ config OPROFILE_MPCORE config OPROFILE_ARM11_CORE bool +config KPROBES + bool "Kprobes" + depends on KALLSYMS && MODULES && !UML && !XIP_KERNEL + help + Kprobes allows you to trap at almost any kernel address and + execute a callback function. register_kprobe() establishes + a probepoint and specifies the callback. Kprobes is useful + for kernel debugging, non-intrusive instrumentation and testing. + If in doubt, say "N". + config MARKERS bool "Activate markers" help