rproc_coredump_set_elf_info(9)
β¨ rproc_coredump_set_elf_info β set coredump elf information β¨
okay so bestie, you're in the Kernel API Manual π and this is the page for rproc_coredump_set_elf_info(9). yes it's a mouthful, no you don't have to say it out loud π«Ά
πΈ SYNOPSIS πΈ
int rproc_coredump_set_elf_info (struct rproc *rproc , u8 class , u16
machine );
literally just one function call, we love a low-effort icon π
π ARGUMENTS π
rprocβ the handle of a remote processor. it's giving "hey bestie, which one" πclassβ the elf class for the coredump elf file. type isu8btw, keep it cute and keep it small πmachineβ the elf machine for the coredump elf file. type isu16, slightly roomier, still not huge π
π¦ DESCRIPTION π¦
so what does it actually do? it sets the elf information that's gonna be used for the coredump elf file. that's the whole vibe. you hand it the elf class and the elf machine, and it stamps that info onto rproc so later, when the coredump elf file gets built, it knows what it's working with. main character setup energy fr fr β¨
ngl this is the before step, okay? it just sets the info β the coredump itself happens somewhere else (see SEE ALSO down there π).
π₯ RETURN π₯
0on success π slay- negative errno on error π so like, check it, bestie. no cap.
π SEE ALSO π
- Kernel file
./drivers/remoteproc/remoteproc_coredump.cβ the source, go read it if you're that kind of girl (iconic behaviour) π rproc_coredump_cleanup(9)rproc_coredump_add_segment(9)rproc_coredump_add_custom_segment(9)rproc_coredump(9)rproc_coredump_using_sections(9)
that's the whole friend group right there, they all hang out in ./drivers/remoteproc π
and that's the page!! tysm for reading, this was brought to you by the ./drivers/remoteproc corner of the kernel, dated October 2026, and the page itself is literally called rproc_coredump_set_elf_info(9) in case you forgot already π mwah π π
π¦ 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