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

Commit 2fcf03ab authored by Devesh Jhunjhunwala's avatar Devesh Jhunjhunwala
Browse files

clk: qcom: Add clock_set_rate_complete trace event



Add clock_set_rate_complete event to enable recording of
clk_set_rate operation latency.

Change-Id: I4dcaf0913df9c6ee0df58c40a3f4581a8218d8e2
Signed-off-by: default avatarDevesh Jhunjhunwala <deveshj@codeaurora.org>
parent d09da868
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -703,6 +703,7 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
	if (clk->notifier_count)
		__clk_notify(clk, POST_RATE_CHANGE, start_rate, clk->rate);

	trace_clock_set_rate_complete(name, clk->rate, raw_smp_processor_id());
out:
	mutex_unlock(&clk->prepare_lock);
	return rc;