diff options
author | Jiri Olsa <[email protected]> | 2009-10-13 16:33:53 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-14 08:13:54 +0200 |
commit | 5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783 (patch) | |
tree | 0faf55a8a91ff69ae7cd0dff349dc5fbe27a53da /net/unix/sysctl_net_unix.c | |
parent | 756d17ee7ee4fbc8238bdf97100af63e6ac441ef (diff) |
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 <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions