Debian Codegraph @

testsuite/buildok/irq-detailed.stp

raw
1 #! stap -p4
2
3 #
4 # workqueue probes
5 #
6
7 probe workqueue.create ?
8 {
9 printf("%p %d\n", wq_thread, cpu)
10 }
11
12 probe workqueue.insert ?, workqueue.execute ?
13 {
14 printf("%p %p %p\n", wq_thread, work, work_func)
15 }
16
17 probe workqueue.destroy ?
18 {
19 printf("%p\n", wq_thread)
20 }
21
22 #
23 # irq_handler probes
24 #
25
26 probe irq_handler.entry ?, irq_handler.exit ?
27 {
28 printf("%d %p %p %d(%s)\n", irq, action, handler, flags, flags_str)
29 printf("%d %d %p %p\n", dev_name, dev_id, next_irqaction, dir)
30 printf("%p %p %d\n", thread_fn, thread, thread_flags)
31 }
32
33 #
34 # softirq probes
35 #
36
37 probe softirq.entry ?, softirq.exit ?
38 {
39 printf("%p %p %p %d\n", h, vec, action, vec_nr)
40 }
41
42 # Make sure we've got at least one probe.
43 probe never
44 {
45 printf("never\n")
46 }