OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f09fc6
)
perf: Use static variant of perf_event_overflow in core.c
author
Robert Richter
<robert.richter@amd.com>
Thu, 5 Apr 2012 16:24:43 +0000
(18:24 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 26 Apr 2012 11:52:52 +0000
(13:52 +0200)
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>
kernel/events/core.c
patch
|
blob
|
history
diff --git
a/kernel/events/core.c
b/kernel/events/core.c
index
a6a9ec4
..
9789a56
100644
(file)
--- 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;
}