On 30 June 2014 14:34, Preeti U Murthy preeti@linux.vnet.ibm.com wrote:
I gave it some thought, looks like /proc/interrupts is the only way to figure if a cpu is isolated from any other activity.
A task can continue to run on a given cpu as long as a scheduler tick does not occur, so as to choose another task to run or any other interrupt does not trigger. I would have suggested looking at ftrace buffer just like Vincent did, but you mention a few loop holes there. So the surest way is to look at /proc/interrupts as far as I can see.
Thanks Preeti, its already up and running.
Let me know in case anybody is interested in that script..