From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH] PERF(kernel): Cleanup power events V2 Date: Tue, 26 Oct 2010 12:19:11 +0200 Message-ID: <20101026101911.GD16552@elte.hu> References: <1287488171-25303-3-git-send-email-trenn@suse.de> <1288049630-10947-1-git-send-email-trenn@suse.de> <20101026071020.GC13036@elte.hu> <4CC6A640.8040700@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4CC6A640.8040700@linux.intel.com> Sender: linux-trace-users-owner@vger.kernel.org To: Arjan van de Ven Cc: Thomas Renninger , Linus Torvalds , Andrew Morton , Thomas Gleixner , Masami Hiramatsu , Frank Eigler , Steven Rostedt , Kevin Hilman , Peter Zijlstra , linux-omap@vger.kernel.org, rjw@sisk.pl, linux-pm@lists.linux-foundation.org, linux-trace-users@vger.kernel.org, Jean Pihet , Pierre Tardy , Frederic Weisbecker , Tejun Heo , Mathieu Desnoyers List-Id: linux-omap@vger.kernel.org * Arjan van de Ven wrote: > On 10/26/2010 12:10 AM, Ingo Molnar wrote: > >+ > >>+ TP_STRUCT__entry( > >>+ __field( u32, state ) > >>+ __field( u32, cpu_id ) > >Trace entries can carry a cpu_id of the current processor already. Can this cpu_id > >ever be different from that CPU id? > > yes > > esp cpu frequency you can change cross cpu.... > > originally we did not have this in the API but Thomas added it for that reason > some time ago. Ok, good! Maybe add this as a comment? Thanks, Ingo