mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 11:53:01 +00:00
tracing: power: Define clock_set_rate_complete trace event
clk_set_rate event involves a variable overhead due to a number of additional operations needed (regulator set voltage operations, etc). Since the overhead may differ based on a number of factors, add a clk_set_rate event so as to enable recording of clk_set_rate operation latency. Change-Id: Ie5c0ab1929f32e08b04d2a255e631c95a68e49fc Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
This commit is contained in:
parent
6d1276acf1
commit
2e7ce64042
|
@ -222,6 +222,13 @@ DEFINE_EVENT(clock, clock_set_rate,
|
|||
TP_ARGS(name, state, cpu_id)
|
||||
);
|
||||
|
||||
DEFINE_EVENT(clock, clock_set_rate_complete,
|
||||
|
||||
TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id),
|
||||
|
||||
TP_ARGS(name, state, cpu_id)
|
||||
);
|
||||
|
||||
TRACE_EVENT(clock_set_parent,
|
||||
|
||||
TP_PROTO(const char *name, const char *parent_name),
|
||||
|
|
Loading…
Reference in a new issue