Re: [PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-08 Thread Chen Yu
On Sun, Jun 07, 2020 at 06:55:35AM +0200, Michal Miroslaw wrote: > On Sat, Jun 06, 2020 at 03:14:59PM +0800, Chen Yu wrote: > > Hi, > > On Fri, Jun 05, 2020 at 09:33:11PM +0200, Michal Miroslaw wrote: > > > On Sat, Jun 06, 2020 at 03:05:52AM +0800, Chen Yu wrote: > > > > Commit d229290689ae

Re: [PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-06 Thread Michal Miroslaw
On Sat, Jun 06, 2020 at 03:14:59PM +0800, Chen Yu wrote: > Hi, > On Fri, Jun 05, 2020 at 09:33:11PM +0200, Michal Miroslaw wrote: > > On Sat, Jun 06, 2020 at 03:05:52AM +0800, Chen Yu wrote: > > > Commit d229290689ae ("PM-runtime: add tracepoints for usage_count > > > changes") > > > has added

Re: [PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-06 Thread Chen Yu
Hi, On Fri, Jun 05, 2020 at 09:33:11PM +0200, Michal Miroslaw wrote: > On Sat, Jun 06, 2020 at 03:05:52AM +0800, Chen Yu wrote: > > Commit d229290689ae ("PM-runtime: add tracepoints for usage_count changes") > > has added some tracepoints to monitor the change of runtime usage, and > > there is

Re: [PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-05 Thread Michal Miroslaw
On Sat, Jun 06, 2020 at 03:05:52AM +0800, Chen Yu wrote: > Commit d229290689ae ("PM-runtime: add tracepoints for usage_count changes") > has added some tracepoints to monitor the change of runtime usage, and > there is something to improve: > 1. There are some places that adjust the usage count

[PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-05 Thread Chen Yu
Commit d229290689ae ("PM-runtime: add tracepoints for usage_count changes") has added some tracepoints to monitor the change of runtime usage, and there is something to improve: 1. There are some places that adjust the usage count have not been traced yet. For example, pm_runtime_get_noresume()