Re: Get local CPU id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On March 8, 2015 8:37:23 PM EDT, Anish Kumar <anish198519851985@xxxxxxxxx> 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 
>> On Mar 8, 2015, at 12:06 PM, Matwey V. Kornilov
><matwey.kornilov@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>_______________________________________________
>Kernelnewbies mailing list
>Kernelnewbies@xxxxxxxxxxxxxxxxx
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux