title: How does ftrace track interrupt service routines?
body: <p><code>ftrace</code> is used for function tracing of kernel. Now how does it work for interrupts. Can it track kernel functions in interrupt mode. If so can you explain how it works. I am trying to write a function that tracks function calls and it works fine in <strong>Supervisor</strong> mode but does not work in interrupt mode (goes into loop). I need to make it work in <strong>IRQ</strong> mode.</p>