diff options
author | Robert Richter <robert.richter@amd.com> | 2012-04-05 18:24:43 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-04-26 13:52:52 +0200 |
commit | 33b07b8be7f0e1e8e4184e3473d71f174e4b0641 (patch) | |
tree | 9c43218dbff37411b9a4b3a61ef7334279470092 | |
parent | 5f09fc688936705b2020ca247df39ee27283668a (diff) |
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>
-rw-r--r-- | kernel/events/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index a6a9ec4cd8f..9789a56b7d5 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; } |