Re: [PATCH 1/2][RFC] PM-runtime: Move all runtime usage related function to runtime.c

2020-06-06 Thread Chen Yu
On Sat, Jun 06, 2020 at 03:05:35AM +0800, Chen Yu wrote: > In order to track all the runtime usage count change, move the code > related to runtime usage count change from pm_runtime.h to runtime.c, > so that in runtime.c we can leverage trace event to do the tracking. > Meanwhile export

[PATCH 1/2][RFC] PM-runtime: Move all runtime usage related function to runtime.c

2020-06-05 Thread Chen Yu
In order to track all the runtime usage count change, move the code related to runtime usage count change from pm_runtime.h to runtime.c, so that in runtime.c we can leverage trace event to do the tracking. Meanwhile export pm_runtime_get_noresume() and pm_runtime_put_noidle() so the module can