commit | 707608d13e3db85f7c62dadb3bbdf031e1c2a64d | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed May 09 16:09:50 2012 -0700 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Aug 08 12:02:17 2016 +0530 |
tree | cab1873cbcfd43faa87b16c2f8be471301f1b3cf | |
parent | cb575f7a1c3edcfe81b0b9c69b5d70cded08f7cf [diff] |
trace: power: add trace_clock_set_parent Adds a new trace event to be called from clk_set_parent. Some cpufreq drivers, including Tegra, reparent the cpu clock to a slower clock while the main pll is relocking, tracing clk_set_parent allows traces to show how for long the cpu is running slower. Uses a separate TRACE_EVENT instead of the clock event class to allow the event to contain string names for the child and the parent. Signed-off-by: Colin Cross <ccross@android.com>