aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2015-02-13 14:40:26 -0800
committerLinus Torvalds <[email protected]>2015-02-13 21:21:42 -0800
commit69d54b916d83872a0a327778a01af2a096923f59 (patch)
treeee62261a484b8e939ad763e2cf4e8039ca9658ea /tools/perf/util/scripting-engines/trace-event-perl.c
parent977ad481b66ca91e1f6492b3c5c4748c68fdee9c (diff)
kprobes: makes kprobes/enabled works correctly for optimized kprobes.
debugfs/kprobes/enabled doesn't work correctly on optimized kprobes. Masami Hiramatsu has a test report on x86_64 platform: https://lkml.org/lkml/2015/1/19/274 This patch forces it to unoptimize kprobe if kprobes_all_disarmed is set. It also checks the flag in unregistering path for skipping unneeded disarming process when kprobes globally disarmed. Signed-off-by: Wang Nan <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions