From 11105a8b04eeb6d4bcb128563efedaaba814297f Mon Sep 17 00:00:00 2001 From: Archana Sathyakumar Date: Wed, 6 Apr 2016 09:04:02 -0600 Subject: [PATCH] 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 --- drivers/cpuidle/lpm-levels.c | 2 -- 1 file changed, 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(); -- 2.11.0