diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2010-02-05 01:24:34 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-05 02:13:57 -0500 |
commit | 5ecaafdbf44b1ba400b746c60c401d54c7ee0863 (patch) | |
tree | a781d78f30a618cbb734dc18dad8c5cb6271a832 /kernel/kprobes.c | |
parent | 2161db969313cb94ffd9377a525fb75c3fee9eeb (diff) |
kprobes: Add mcount to the kprobes blacklist
Since mcount function can be called from everywhere,
it should be blacklisted. Moreover, the "mcount" symbol
is a special symbol name. So, it is better to put it in
the generic blacklist.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20100205062433.3745.36726.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kprobes.c')
-rw-r--r-- | kernel/kprobes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index c3340e836c37..ccec774c716d 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c | |||
@@ -94,6 +94,7 @@ static struct kprobe_blackpoint kprobe_blacklist[] = { | |||
94 | {"native_get_debugreg",}, | 94 | {"native_get_debugreg",}, |
95 | {"irq_entries_start",}, | 95 | {"irq_entries_start",}, |
96 | {"common_interrupt",}, | 96 | {"common_interrupt",}, |
97 | {"mcount",}, /* mcount can be called from everywhere */ | ||
97 | {NULL} /* Terminator */ | 98 | {NULL} /* Terminator */ |
98 | }; | 99 | }; |
99 | 100 | ||