help-about ISR

Frank Ch. Eigler fche@redhat.com
Wed Mar 29 14:29:00 GMT 2006


"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



More information about the Systemtap mailing list