tracing/kprobe: Update symbol reference when loading module
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Mon, 27 Jun 2011 07:27:03 +0000 (16:27 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Jul 2011 19:45:32 +0000 (15:45 -0400)
commit7f6878a3d707b947603e09d95df0c3a98987e3a4
treeaa707653884ae1a7eac99c1b3c772c2eb89eb642
parent614243181050436785f5a621749a7da2336a7916
tracing/kprobe: Update symbol reference when loading module

Since the address of a module-local variable can only be
solved after the target module is loaded, the symbol
fetch-argument should be updated when loading target
module.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: http://lkml.kernel.org/r/20110627072703.6528.75042.stgit@fedora15
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c