This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: help-about ISR
"Kevin Jia" <jiaminghao@gmail.com> writes:
> I want to use systemtap trace ISR(interrput service routine), but I
> have no idea that how trace the interrupt? [...]
You would need to pick functions in the interrupt service chain to
focus on. You would insert a probe into those functions, and arrange
for the probe handlers to print something. Some of the lower level
functions are "blacklisted" (deemed unsafe for direct probing), so
higher level, device-driver-level ones are better.
probe module("foo").function("foo_interrupt_handler"),
module("bar").function("bar_interrupt_handler"),
kernel.function("baz_interrupt_handler")
{
print ("in " . probefunc())
}
- FChE