Get local CPU id

Anish Kumar anish198519851985 at gmail.com
Sun Mar 8 20:37:23 EDT 2015


You can use ftrace and such.



> On Mar 8, 2015, at 12:06 PM, Matwey V. Kornilov <matwey.kornilov at gmail.com> wrote:
> 
> Hi,
> 
> I would like to somehow obtain local CPU core ID in the interrupt
> handler function. I want to see how my interruptions are distributed
> among different CPU cores under different conditions.
> 
> How should I do that?
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



More information about the Kernelnewbies mailing list