diff options
author | Ingo Molnar <mingo@elte.hu> | 2012-02-17 03:27:41 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-02-17 04:18:07 -0500 |
commit | 7b2d81d48a2d8e37efb6ce7b4d5ef58822b30d89 (patch) | |
tree | 23987f194dcd91b0ba6d27f7f6e08c178797488e /arch/Kconfig | |
parent | 2b144498350860b6ee9dc57ff27a93ad488de5dc (diff) |
uprobes/core: Clean up, refactor and improve the code
Make the uprobes code readable to me:
- improve the Kconfig text so that a mere mortal gets some idea
what CONFIG_UPROBES=y is really about
- do trivial renames to standardize around the uprobes_*() namespace
- clean up and simplify various code flow details
- separate basic blocks of functionality
- line break artifact and white space related removal
- use standard local varible definition blocks
- use vertical spacing to make things more readable
- remove unnecessary volatile
- restructure comment blocks to make them more uniform and
more readable in general
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Anton Arapov <anton@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Link: http://lkml.kernel.org/n/tip-ewbwhb8o6navvllsauu7k07p@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 284f5898f526..cca5b545d806 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -66,13 +66,19 @@ config OPTPROBES | |||
66 | depends on !PREEMPT | 66 | depends on !PREEMPT |
67 | 67 | ||
68 | config UPROBES | 68 | config UPROBES |
69 | bool "User-space probes (EXPERIMENTAL)" | 69 | bool "Transparent user-space probes (EXPERIMENTAL)" |
70 | depends on ARCH_SUPPORTS_UPROBES | 70 | depends on ARCH_SUPPORTS_UPROBES |
71 | default n | 71 | default n |
72 | help | 72 | help |
73 | Uprobes enables kernel subsystems to establish probepoints | 73 | Uprobes is the user-space counterpart to kprobes: they |
74 | in user applications and execute handler functions when | 74 | enable instrumentation applications (such as 'perf probe') |
75 | the probepoints are hit. | 75 | to establish unintrusive probes in user-space binaries and |
76 | libraries, by executing handler functions when the probes | ||
77 | are hit by user-space applications. | ||
78 | |||
79 | ( These probes come in the form of single-byte breakpoints, | ||
80 | managed by the kernel and kept transparent to the probed | ||
81 | application. ) | ||
76 | 82 | ||
77 | If in doubt, say "N". | 83 | If in doubt, say "N". |
78 | 84 | ||