commit | 5bc44d55994df732712a3c8b5e1607eb21141c6a | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Thu Mar 29 11:00:57 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Mar 29 11:15:35 2012 -0700 |
tree | 66f462816d5d9bf340e379758249174f4d3c30ee | |
parent | 1c0db13b2c86b0cd32bcb5d65f99596f40a8d498 [diff] |
msm: clock: Hook into clock tracepoints Tracepoints already exist for clk_enable(), clk_disable(), and clk_set_rate(). Add callbacks for these tracepoints so that we can easily trace clock operations in the kernel. For example: # pwd /sys/kernel/debug/tracing # echo 1 > events/power/clock_enable/enable # cat trace <lots of clock enables> Change-Id: I3b845653be427ff4b33bb31b5b82f73c4695d230 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>