Skip to content

Commit dda753c

Browse files
committed
Initialize new repository for holding IRQ tracing code examples
Signed-off-by: Alison Chaiken <alison@she-devel.com>
1 parent 0fb0bcc commit dda753c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# irq-tracing
2+
Example code for tracing IRQs in Linux kernel
3+
Posted as part of Embedded Linux Conference talk, Tuesday, October 11, 2016,
4+
"IRQs: the Hard, the Soft, the Threaded and the Preemptible", http://sched.co/7rrr
5+
6+
Tested on Boundary Devices Nitrogren i.MX6Q board with 4.4.4-rt11 kernel, but should work
7+
as intended on any recent PREEMPT_RT_FULL kernel with pinned Ethernet and CAN IRQs.
8+
9+
To trigger NAPI path of execution, I did the following:
10+
-- started two instances of 'ping -f <board IP address>';
11+
-- ran a shell command that triggers dozens of scp's of a large file:
12+
while true; do scp /boot/vmlinuz root@<board ip addr>:/tmp; done
13+
After about 30 seconds, the kprobe indicating NAPI path is hit.
14+
15+
16+
I'd like to declare a license of GPLv2 or greater for this code, like the upstream Linux kernel,
17+
but apparently Github does not permit this.
18+

0 commit comments

Comments
 (0)