author | Colin Cross <ccross@android.com> | |
Wed, 9 May 2012 23:09:50 +0000 (16:09 -0700) | ||
committer | Arve Hjønnevåg <arve@android.com> | |
Wed, 20 Feb 2013 01:54:11 +0000 (17:54 -0800) | ||
commit | 2c48a322c1d0d4e928dc88995e6efa8aabad20af | |
tree | 7efea1af5b83d4f32a9843337731fd6babba6962 | tree | snapshot (tar.xz tar.gz zip) |
parent | a91671c00f057237a027420e6641d18cf7f91fef | commit | 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>
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>
include/trace/events/power.h | diff | blob | history |