sprint_symbol_build_id(9)
sprint_symbol_build_id(9) π
okay so we're in the Kernel API Manual, and this page is about sprint_symbol_build_id β yes, the name is a mouthful, but she's iconic. π«Ά
β¨ NAME β¨
sprint_symbol_build_id β look up a kernel symbol and return it in a text buffer. That's the whole assignment, bestie. π
β¨ SYNOPSIS β¨
int sprint_symbol_build_id (char *buffer , unsigned long address );
β¨ ARGUMENTS β¨
bufferβ buffer to be stored π«addressβ address to lookup π
β¨ DESCRIPTION β¨
okay so this function looks up a kernel symbol with address and stores its name, offset, size, module name, and module build ID to buffer if possible. If no symbol was found, it just saves its address as is. No cap. π
this function returns the number of bytes stored in buffer. Slay. π
β¨ SEE ALSO β¨
- Kernel file
./kernel/kallsyms.cβ and the whole friend group:sprint_symbol(9),sprint_symbol_no_offset(9),sprint_backtrace(9),sprint_backtrace_build_id(9)π
thatβs the tea, bestie π«Ά β source/version: ./kernel, date: October 2026, page: sprint_symbol_build_id(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms