• Stephen Boyd's avatar
    clk: Add tracepoints for hardware operations · dfc202ea
    Stephen Boyd authored
    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: default avatarStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
    dfc202ea
clk.c 75.1 KB