From: Arjan van de Ven Subject: Re: [PATCH] PERF(kernel): Cleanup power events V2 Date: Tue, 26 Oct 2010 09:04:19 -0700 Message-ID: <4CC6FC03.708__45374.4010338143$1288109237$gmane$org@linux.intel.com> References: <1287488171-25303-3-git-send-email-trenn@suse.de> <1288049630-10947-1-git-send-email-trenn@suse.de> <20101026071020.GC13036@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Pierre Tardy Cc: Andrew Morton , linux-trace-users@vger.kernel.org, Frederic Weisbecker , Jean Pihet , Steven Rostedt , Peter Zijlstra , Frank Eigler , Mathieu Desnoyers , linux-pm@lists.linux-foundation.org, Masami Hiramatsu , Tejun Heo , Thomas Gleixner , linux-omap@vger.kernel.org, Linus Torvalds , Ingo Molnar List-Id: linux-pm@vger.kernel.org On 10/26/2010 8:32 AM, Pierre Tardy wrote: > On Tue, Oct 26, 2010 at 2:10 AM, Ingo Molnar 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)