aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_export.c
diff options
context:
space:
mode:
authorGravatar Ananth N Mavinakayanahalli <ananth@in.ibm.com> 2009-09-15 10:43:07 +0530
committerGravatar Frederic Weisbecker <fweisbec@gmail.com> 2009-09-17 04:24:57 +0200
commit1f0ab40976460bc4673fa204ce917a725185d8f2 (patch)
treed854f402352917359729eb35e73bc34ee227c875 /kernel/trace/trace_export.c
parenttracing/kprobes: Disable kprobe events by default after creation (diff)
downloadlinux-1f0ab40976460bc4673fa204ce917a725185d8f2.tar.gz
linux-1f0ab40976460bc4673fa204ce917a725185d8f2.tar.bz2
linux-1f0ab40976460bc4673fa204ce917a725185d8f2.zip
kprobes: Prevent re-registration of the same kprobe
Prevent re-registration of the same kprobe. This situation, though unlikely, needs to be flagged since it can lead to a system crash if it's not handled. The core change itself is small, but the helper routine needed to be moved around a bit; hence the diffstat. Signed-off-by: Ananth N Mavinakayanahalli<ananth@in.ibm.com> Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Jim Keniston <jkenisto@us.ibm.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Frank Ch. Eigler <fche@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Jason Baron <jbaron@redhat.com> Cc: K.Prasad <prasad@linux.vnet.ibm.com> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <20090915051307.GB26458@in.ibm.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/trace/trace_export.c')
0 files changed, 0 insertions, 0 deletions