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

Arjan van de Ven
2010-10-26T09:58:24Z

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.