summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchana Sathyakumar <asathyak@codeaurora.org>2016-04-06 09:04:02 -0600
committerKyle Yan <kyan@codeaurora.org>2016-05-24 14:15:31 -0700
commit11105a8b04eeb6d4bcb128563efedaaba814297f (patch)
tree3940e4c70f910e770305c4a3e53cbc2976cee227
parent66725abe35872e9224c76d1aca8510fa354471e1 (diff)
cpuidle: lpm_levels: Remove duplicate cpuidle tracepoints
Since the cpuidle driver considers the mode selected by qcom governor for trace events now, remove duplicate traces that report the same information. CRs-fixed: 991557 Change-Id: I2a470fb906bb9747f0e1b2c08a231edecc184036 Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
-rw-r--r--drivers/cpuidle/lpm-levels.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpuidle/lpm-levels.c b/drivers/cpuidle/lpm-levels.c
index 11cdf6fa53eb..e35d79acd5e8 100644
--- a/drivers/cpuidle/lpm-levels.c
+++ b/drivers/cpuidle/lpm-levels.c
@@ -1005,7 +1005,6 @@ static int lpm_cpuidle_select(struct cpuidle_driver *drv,
if (idx < 0)
return -EPERM;
- trace_cpu_idle_rcuidle(idx, dev->cpu);
return idx;
}
@@ -1044,7 +1043,6 @@ exit:
sched_set_cpu_cstate(smp_processor_id(), 0, 0, 0);
trace_cpu_idle_exit(idx, success);
- trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, dev->cpu);
end_time = ktime_to_ns(ktime_get()) - start_time;
dev->last_residency = do_div(end_time, 1000);
local_irq_enable();