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

Ingo Molnar
2010-10-26T10:19:11Z

* Arjan van de Ven <arjan@linux.intel.com> 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