Generate assembly language directly with -S
Posted May 26, 2026 14:01 UTC (Tue) by willy (subscriber, #9762)In reply to: Generate assembly language directly with -S by jreiser
Parent article: Dirk and Linus discuss AI and kernel development
The kernel build system supports "make fs/buffer.s" to generate the assembly rather than the fs/buffer.o file that would normally be built. It's a little more symbolic than running objdump -S but doesn't tell you how many bytes each insn is compiled to. It's sometimes better for a before/after comparison of a code change.

















