From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [PATCH] PERF(kernel): Cleanup power events V2 Date: Tue, 26 Oct 2010 02:58:24 -0700 Message-ID: <4CC6A640.8040700@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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101026071020.GC13036@elte.hu> Sender: linux-trace-users-owner@vger.kernel.org To: Ingo Molnar 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 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.