Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7ecccb2 authored by Archana Sathyakumar's avatar Archana Sathyakumar
Browse files

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: default avatarArchana Sathyakumar <asathyak@codeaurora.org>
parent 17d7bd58
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1020,7 +1020,6 @@ static int lpm_cpuidle_select(struct cpuidle_driver *drv,
	if (idx < 0)
		return -EPERM;

	trace_cpu_idle_rcuidle(idx, dev->cpu);
	return idx;
}

@@ -1069,7 +1068,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();