summaryrefslogtreecommitdiffstats
path: root/kernel/events
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2012-04-05 18:24:43 +0200
committerIngo Molnar <mingo@kernel.org>2012-04-26 13:52:52 +0200
commit33b07b8be7f0e1e8e4184e3473d71f174e4b0641 (patch)
tree9c43218dbff37411b9a4b3a61ef7334279470092 /kernel/events
parent5f09fc688936705b2020ca247df39ee27283668a (diff)
downloadtalos-op-linux-33b07b8be7f0e1e8e4184e3473d71f174e4b0641.tar.gz
talos-op-linux-33b07b8be7f0e1e8e4184e3473d71f174e4b0641.zip
perf: Use static variant of perf_event_overflow in core.c
No need to have an additional function layer. Signed-off-by: Robert Richter <robert.richter@amd.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1333643084-26776-4-git-send-email-robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
-rw-r--r--kernel/events/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c
index a6a9ec4cd8f5..9789a56b7d54 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -5350,7 +5350,7 @@ static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer)
if (regs && !perf_exclude_event(event, regs)) {
if (!(event->attr.exclude_idle && is_idle_task(current)))
- if (perf_event_overflow(event, &data, regs))
+ if (__perf_event_overflow(event, 1, &data, regs))
ret = HRTIMER_NORESTART;
}
OpenPOWER on IntegriCloud