summaryrefslogtreecommitdiff
path: root/tools/perf/util/probe-event.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2010-02-26 18:36:23 +0300
committerIngo Molnar <mingo@elte.hu>2010-02-26 19:25:00 +0300
commit24691ea964cc0123e386b661e03a86a481c6ee79 (patch)
tree3dbda94caa97b627dde488e968c937e3bbbc8fbc /tools/perf/util/probe-event.c
parent4385d580f2278abab6d336e52522e9a6f5452a11 (diff)
downloadlinux-24691ea964cc0123e386b661e03a86a481c6ee79.tar.xz
perf_event: Fix preempt warning in perf_clock()
A recent commit introduced a preemption warning for perf_clock(), use raw_smp_processor_id() to avoid this, it really doesn't matter which cpu we use here. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1267198583.22519.684.camel@laptop> Cc: <stable@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/probe-event.c')
0 files changed, 0 insertions, 0 deletions