summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2011-05-11 13:06:13 +0200
committerIngo Molnar <mingo@elte.hu>2011-05-11 13:21:23 +0200
commit9bbeacf52f66d165739a4bbe9c018d17493a74b5 (patch)
treed47a268e184907bc1c962e91f361907f29b4093b /tools
parent693d92a1bbc9e42681c42ed190bd42b636ca876f (diff)
downloadlinux-9bbeacf52f66d165739a4bbe9c018d17493a74b5.tar.gz
linux-9bbeacf52f66d165739a4bbe9c018d17493a74b5.tar.bz2
linux-9bbeacf52f66d165739a4bbe9c018d17493a74b5.zip
kprobes, x86: Disable irqs during optimized callback
Disable irqs during optimized callback, so we dont miss any in-irq kprobes. The following commands: # cd /debug/tracing/ # echo "p mutex_unlock" >> kprobe_events # echo "p _raw_spin_lock" >> kprobe_events # echo "p smp_apic_timer_interrupt" >> ./kprobe_events # echo 1 > events/enable Cause the optimized kprobes to be missed. None is missed with the fix applied. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Link: http://lkml.kernel.org/r/20110511110613.GB2390@jolsa.brq.redhat.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions