Thread (9 messages) 9 messages, 5 authors, 2015-03-09

Get local CPU id

From: Nicholas Krause <hidden>
Date: 2015-03-09 00:52:56


On March 8, 2015 8:37:23 PM EDT, Anish Kumar [off-list ref] wrote:
You can use ftrace and such.

That only traces file related calls and not interrupts. I stand by either using the proc/interrupts file and updating the refresh rate to 1 second if possible. There may also debugging features that you may use for monitoring interrupts when setting  the kernel's compile options in the menu for debugging.  I am afraid I  don't remember the exact configurations to set through Matwey. Please don't let all the ideas scare you Marley as your question was rather valid and we are trying to answer with only the information given to us.  If can try to resend a more detailed question this would help a lot. Also thanks for helping through Anish and good idea but it doesn't  trace interrupts 
directly. 
Nick 
quoted
On Mar 8, 2015, at 12:06 PM, Matwey V. Kornilov
[off-list ref] wrote:
quoted
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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help