vmcore_add_device_dump(9)
πΈ NAME πΈ
okay bestie, welcome to the vmcore_add_device_dump(9) page from the Kernel API Manual π this one is short and iconic: vmcore_add_device_dump β add a buffer containing device dump to vmcore. periodt β¨
β¨ SYNOPSIS β¨
the whole vibe check, verbatim:
int vmcore_add_device_dump (struct vmcoredd_data *data );
π ARGUMENTS π
dataβ dump info. that's the whole argument, no cap π«Ά
π DESCRIPTION π
so here's the tea β this function allocates a buffer and invokes the calling driver's dump collect routine. literally doing the main-character work of gathering the dump π
then it writes an ELF note at the beginning of the buffer to indicate vmcore device dump, and adds the dump to the global list. slay, the metadata is noted and the dump is on the list β¨π₯
π SEE ALSO π
- Kernel file
./fs/proc/vmcore.c vmcore_alloc_buf(9)update_note_header_size_elf64(9)get_note_number_and_size_elf64(9)copy_notes_elf64(9)update_note_header_size_elf32(9)get_note_number_and_size_elf32(9)copy_notes_elf32(9)vmcoredd_write_header(9)vmcoredd_update_program_headers(9)vmcoredd_update_size(9)
go read those too, iykyk ππ
mwah π signed off from source ./fs/proc, dated October 2026, with the version tag vmcore_add_device_dump(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