/systemtap-1.8/testsuite/buildok/irq-detailed.stp
# · Unknown · 46 lines · 37 code · 9 blank · 0 comment · 0 complexity · 29fdd475a38a8a00fc644c058f29315e MD5 · raw file
- #! stap -p4
- #
- # workqueue probes
- #
- probe workqueue.create ?
- {
- printf("%p %d\n", wq_thread, cpu)
- }
- probe workqueue.insert ?, workqueue.execute ?
- {
- printf("%p %p %p\n", wq_thread, work, work_func)
- }
- probe workqueue.destroy ?
- {
- printf("%p\n", wq_thread)
- }
- #
- # irq_handler probes
- #
- probe irq_handler.entry ?, irq_handler.exit ?
- {
- printf("%d %p %p %d(%s)\n", irq, action, handler, flags, flags_str)
- printf("%d %d %p %p\n", dev_name, dev_id, next_irqaction, dir)
- printf("%p %p %d\n", thread_fn, thread, thread_flags)
- }
- #
- # softirq probes
- #
- probe softirq.entry ?, softirq.exit ?
- {
- printf("%p %p %p %d\n", h, vec, action, vec_nr)
- }
- # Make sure we've got at least one probe.
- probe never
- {
- printf("never\n")
- }