clk: Add tracepoints for hardware operations
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 2 Feb 2015 22:37:41 +0000 (14:37 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 12 Mar 2015 19:18:51 +0000 (12:18 -0700)
commitdfc202ead3123988793ac1160849676000b77ee4
tree3720e97d6434c3f32480aa7753a7ba39e103b6ba
parent08b9575660cd6d654c05314fc41d2209f2d8bdfb
clk: Add tracepoints for hardware operations

It's useful to have tracepoints around operations that change the
hardware state so that we can debug clock hardware performance
and operations. Four basic types of events are supported: on/off
events for enable, disable, prepare, unprepare that only record
an event and a clock name, rate changing events for
clk_set_{min_,max_}rate{_range}(), phase changing events for
clk_set_phase() and parent changing events for clk_set_parent().

Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/trace/events/clk.h [new file with mode: 0644]