Re: [PATCH] PERF(kernel): Cleanup power events V2

Arjan van de Ven
2010-10-26T16:04:19Z

On 10/26/2010 8:32 AM, Pierre Tardy wrote:
> On Tue, Oct 26, 2010 at 2:10 AM, Ingo Molnar<mingo@elte.hu> wrote:
>
>> How will future PCI (or other device) power saving tracepoints be called?
>>
>> Might be more consistent to use:
>>
>> power:cpu_idle
>> power:machine_idle
>> power:device_idle
> Agree with this.
>
> FYI, I have a runtime_pm tracepoint currently cooking. Here is
> preliminary patch.
> Can this be a candidate for a "power:device_idle" tracepoint?

I would like to see a slightly more advanced tracepoint do the runtime
pm framework;
specifically I'd like to see the "comm" of the process that's taking a
refcount on a device
(that way, powertop can track which process keeps a device busy)