Re: [PATCH] clk: debugfs: Support frequency stats accounting

2015-03-24 Thread Stephen Boyd
On 03/23, Badhri Jagan Sridharan wrote: > >Some initial questions: > > > > 1. Have you seen the pending tracepoint patches to add > > tracepoints to the framework[1]? > > > > 2. Have you considered using tracepoints and the ability to > > register callbacks on tracepoints and/or register_stat_trac

Re: [PATCH] clk: debugfs: Support frequency stats accounting

2015-03-23 Thread Badhri Jagan Sridharan
> > Some initial questions: > > 1. Have you seen the pending tracepoint patches to add > tracepoints to the framework[1]? > > 2. Have you considered using tracepoints and the ability to > register callbacks on tracepoints and/or register_stat_tracer() > to implement the functionality in

Re: [PATCH] clk: debugfs: Support frequency stats accounting

2015-03-21 Thread Stephen Boyd
On 03/20, Badhri Jagan Sridharan wrote: > Added frequency statistics accounting to common > clk debug framework. This change tracks the > frequency of the clocks which don't have the > CLK_GET_RATE_NOCACHE flag set. This is done by > monitoring the calls to clk_set_rate, clk_enable > and then clk_