uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls
authorOleg Nesterov <oleg@redhat.com>
Thu, 28 Mar 2013 18:19:11 +0000 (19:19 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:00 +0000 (15:32 +0200)
commit0e3853d202e8b2720bc4c674dc58849b2662c8f8
tree1985c7d62717dd07c2e3957acbb66515dc0ce65d
parent456fdbcb8648a20f56977efbc6f13e28936fcf0b
uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls

uprobe_trace_func() is never called with irqs or preemption
disabled, no need to ask preempt_count() or local_save_flags().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tested-by: Anton Arapov <anton@redhat.com>
kernel/trace/trace_uprobe.c