jasoncc.github.io
Random Signals on Some Low-level Stuff.
Strategies for getting started with kernel programming
- Strace all thing!
- Read some kernel code!
- Write a kernel module!
- Do the Eudalypta challenge
- Write your own operating system
- Do a Linux Kernel internship
- Google Summer of Code
- Outreach Program
- Linux Weekly News!
Why you should Lean It
- Understanding Your Operation System Makes You A Better Programmer
- Treat Your Programs as A Black Box
- Your Operating System Is a Tool. Learn It.
Learn by Doing
PERF: TRACK L1 CACHE MISSES!
- Track L1 Cache Misses
- Flame Graph (function calling)
Ftrace: Tracing Kernel Functions
/proc
- Pretty fun simple demo
- run a program
- get its PID
- delete the executable
- YOU CAN STILL RECOVER IT
- ls /proc//exe
- cat /proc//exe > demo_recover
- ^C the program
- grant execution permission to demo_recover
- running demo_recover (Cool!)
/proc/*/fd
References
back