Skip to content

chaiken/irq-tracing

trace_napi_RT
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
fs
 
 
 
 
 
 
ipc
 
 
 
 
lib
 
 
mm
 
 
net
 
 
 
 
 
 
 
 
 
 
 
 
usr
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

irq-tracing

Example code for tracing IRQs in Linux kernel Posted as part of Embedded Linux Conference talk, Tuesday, October 11, 2016, "IRQs: the Hard, the Soft, the Threaded and the Preemptible", http://sched.co/7rrr

Tested on Boundary Devices Nitrogren i.MX6Q board with 4.4.4-rt11 kernel, but should work as intended on any recent PREEMPT_RT_FULL kernel with pinned Ethernet and CAN IRQs.

To trigger NAPI path of execution, I did the following: -- started two instances of 'ping -f '; -- ran a shell command that triggers dozens of scp's of a large file: while true; do scp /boot/vmlinuz root@:/tmp; done After about 30 seconds, the kprobe indicating NAPI path is hit.

I'd like to declare a license of GPLv2 or greater for this code, like the upstream Linux kernel, but apparently Github does not permit this.

About

Example code for tracing IRQs in Linux kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published