STRUCT KMSG_DUMPER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct kmsg_dumper(9) πŸ’–

okay so bestie, this is a page from the Kernel API Manual and it's literally all about struct kmsg_dumper β€” the kernel crash message dumper structure. no cap, that's the whole vibe.


✨ NAME ✨

struct kmsg_dumper β€” the kernel crash message dumper structure 🫢


🌸 SYNOPSIS 🌸

ok here's the whole shape of it, character for character, don't touch:

struct kmsg_dumper {
    struct list_head list;
    void (*dump)(struct kmsg_dumper *dumper, struct kmsg_dump_detail
*detail);
    enum kmsg_dump_reason max_reason;
    bool registered;
 };

πŸŽ€ Members πŸŽ€

  • list β€” your entry in the dumper list, and it's private, so like. mind your business bestie πŸ™ˆ
  • dump β€” this is the call into the dumping code, which will retrieve the data through the record iterator. it's giving main character energy, honestly πŸ’…
  • max_reason β€” the filter for the highest reason number that should be dumped ✨
  • registered β€” a flag that specifies if this is already registered. yes she's a bool, yes she's doing her best πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/kmsg_dump.h
  • struct kmsg_dump_iter(9)
  • struct kmsg_dump_detail(9)

ngl the whole file lives at ./include/linux if you ever need to go say hi 🧚

ok that's the whole page, you ate that πŸ’œ this lil drop was brought to you by the ./include/linux source, dated October 2026 β€” mwah, see you in the next one bestie! 🌈✨

πŸ“¦ where this page comes from