summaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.pl
diff options
context:
space:
mode:
authorJiri Olsa2009-10-13 22:33:53 +0200
committerIngo Molnar2009-10-14 08:13:54 +0200
commit5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783 (patch)
tree0faf55a8a91ff69ae7cd0dff349dc5fbe27a53da /scripts/recordmcount.pl
parenttracing: Support multiple pids in set_pid_ftrace file (diff)
downloadkernel-qcow2-linux-5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783.tar.gz
kernel-qcow2-linux-5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783.tar.xz
kernel-qcow2-linux-5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783.zip
tracing: Enable records during the module load
I was debuging some module using "function" and "function_graph" tracers and noticed, that if you load module after you enabled tracing, the module's hooks will convert only to NOP instructions. The attached patch enables modules' hooks if there's function trace allready on, thus allowing to trace module functions. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <20091013203425.896285120@goodmis.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions