Messages in this thread Patch in this message | | | Date | Fri, 5 Feb 2010 07:48:40 GMT | From | tip-bot for Masami Hiramatsu <> | Subject | [tip:perf/core] kprobes: Add mcount to the kprobes blacklist |
| |
Commit-ID: 5ecaafdbf44b1ba400b746c60c401d54c7ee0863 Gitweb: http://git.kernel.org/tip/5ecaafdbf44b1ba400b746c60c401d54c7ee0863 Author: Masami Hiramatsu <mhiramat@redhat.com> AuthorDate: Fri, 5 Feb 2010 01:24:34 -0500 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Fri, 5 Feb 2010 08:13:57 +0100
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> --- kernel/kprobes.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index c3340e8..ccec774 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c @@ -94,6 +94,7 @@ static struct kprobe_blackpoint kprobe_blacklist[] = { {"native_get_debugreg",}, {"irq_entries_start",}, {"common_interrupt",}, + {"mcount",}, /* mcount can be called from everywhere */ {NULL} /* Terminator */ };
| |