This is an old revision of the document!
Linux kernel info and subpages – a ton of this needs to be updated or tossed at this point.
Linux kernel subtopics
Networking topics (NEW)
Networking topics (OLD)
Debugging stuff
Upcoming topics
Module building
- Is there a common wrapper for
module_init()
,module_exit()
?
initcalls
include/linux/init.h
EXPORT_SYMBOL, symbols
Device trees
System calls
Printing/debugging
- pr_info, dev_dbg, netdev_dbg and so on
- #define DEBUG
ERR_PTR, PTR_ERR, IS_ERR
Kernel data types
Static analysis
- sparse, cocci
Kbuild system
- “make xconfig” fails, pkg-config (Qt5)
- /lib/modules/* files (modules.alias and so on)
include/linux/kconfig.h
, macro checking and so on
uapi/ structure
- Module loading configuration (/etc/modules-load.d)