diff options
author | Colin Cross <ccross@android.com> | 2012-05-09 16:09:50 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-05-10 15:38:14 -0700 |
commit | 56afe26f4bf74f81904671ba416bac7e78c18602 (patch) | |
tree | 5c5f9b39c8c5a7c07c21d176172a7dda40e214cb /net/core/dev.c | |
parent | 420a95f37b73ecfdd89cd63f83d3369dbc4cb2ab (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>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions