public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* help-about ISR
@ 2006-03-29 12:34 Kevin Jia
  2006-03-29 14:29 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Jia @ 2006-03-29 12:34 UTC (permalink / raw)
  To: systemtap

I want to use systemtap trace ISR(interrput service routine), but I
have no idea that how trace the interrupt? So could anybody give me
some help? A example is better.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: help-about ISR
  2006-03-29 12:34 help-about ISR Kevin Jia
@ 2006-03-29 14:29 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2006-03-29 14:29 UTC (permalink / raw)
  To: Kevin Jia; +Cc: systemtap


"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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-29 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29 12:34 help-about ISR Kevin Jia
2006-03-29 14:29 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).