diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-07-31 09:59:28 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-07-31 09:59:28 +0200 |
commit | acd632eb64b6cd8e25583bb248c36aa937b8f021 (patch) | |
tree | 993d276cbadb450fe8cf5e3c66d444a905d452e7 /kernel/events | |
parent | 4b0c53e9e1a2a785746b2d379a32cb70b4dbb2fd (diff) | |
parent | 5542b2aa9eea3f2bb922029c8cc4b4346c4f6b1c (diff) | |
download | op-kernel-dev-acd632eb64b6cd8e25583bb248c36aa937b8f021.zip op-kernel-dev-acd632eb64b6cd8e25583bb248c36aa937b8f021.tar.gz |
Merge branch 'perf/urgent' into perf/core, to merge fixes before pulling more changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index ce21143..a9796c8 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -1869,8 +1869,6 @@ event_sched_in(struct perf_event *event, perf_pmu_disable(event->pmu); - event->tstamp_running += tstamp - event->tstamp_stopped; - perf_set_shadow_time(event, ctx, tstamp); perf_log_itrace_start(event); @@ -1882,6 +1880,8 @@ event_sched_in(struct perf_event *event, goto out; } + event->tstamp_running += tstamp - event->tstamp_stopped; + if (!is_software_event(event)) cpuctx->active_oncpu++; if (!ctx->nr_active++) |