rproc_cored...ing_sections(9)
π rproc_coredump_using_sections β the Kernel API Manual, section 9, bestie
Okay so real talk, this one lives in the Kernel API Manual, section 9, and its whole name is literally rproc_coredump_using_sections. Say that five times fast, I dare you. π«Ά
β¨ NAME β¨
rproc_coredump_using_sections β perform coredump using section headers. That's it, that's the vibe. π
πΈ SYNOPSIS πΈ
void rproc_coredump_using_sections(struct rproc *rproc);
Iconic. No return value. It just does the thing. β¨
π ARGUMENTS π
rprocβ the rproc handle. That's your little main character right there, the thing you're passing in. π¦
π₯ DESCRIPTION π₯
So here's what's happening, bestie, listen up. π
This function will generate an ELF header for the registered sections of segments β yes, an actual ELF header, she's fancy β and create a devcoredump device associated with rproc.
Then it gets interesting, because there are two paths depending on the coredump configuration:
- It will directly copy the segments from device memory to userspace, OR
- It will copy segments from device memory to a separate buffer, which can then be read by userspace.
And here's the tradeoff, no cap: the first approach avoids using extra vmalloc memory. But β and this is the part you need to remember β it will stall recovery flow until the dump is read by userspace. π So like, it's cheaper on memory but it just sits there waiting. Pick your fighter. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/remoteproc/remoteproc_coredump.c rproc_coredump_cleanup(9)rproc_coredump_add_segment(9)rproc_coredump_add_custom_segment(9)rproc_coredump_set_elf_info(9)rproc_coredump(9)
Go read them, they're all in the same friend group. π
Okay that's the whole page, mwah. π This one came from the ./drivers/remoteproc corner of the world, dated October 2026, and it's filed under rproc_cored...ing_sections(9) β yes the name is truncated in the footer, she's mysterious like that. π Slay, goodbye! π
π¦ 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