get_pseries_errorlog(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… get_pseries_errorlog(9) β€” like, the actual manual, bestie πŸ’…

okay so this is the <pink>get_pseries_errorlog</pink> page from the Kernel API Manual, and no cap, it's a short one but it's lowkey iconic ✨ It's all about finding one specific pseries error log hanging out inside an RTAS extended event log. Scavenger hunt vibes fr πŸ’–


🌸 NAME 🌸

get_pseries_errorlog β€” Find a specific pseries error log in an RTAS extended event log.

yeah that's it, that's the whole mission statement 🫢


✨ SYNOPSIS ✨

noinstr struct pseries_errorlog * get_pseries_errorlog (struct
rtas_error_log *log , uint16_t section_id );

look at that signature, she's gorgeous, she's noinstr, she returns a struct pseries_errorlog * β€” main character energy honestly πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • log β€” the RTAS error/event log, aka the big pile you're digging through πŸ—‚οΈ
  • section_id β€” a two character section identifier, like the little name tag on the section you actually want 🏷️

πŸ’€ RETURN πŸ’€

A pointer to the specified errorlog, or NULL if it's not found 😭

so like… check for NULL, bestie. always. it's giving "found nothing, hope you handled it" πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

like a whole friend group of RTAS functions, go say hi to all of them πŸŒˆπŸ’œ


mwah πŸ’‹ this lil page lives in ./arch/powerpc/kernel, dated October 2026, and it's filed in the Kernel API Manual β€” go read the other ones too, iykyk πŸŽ€βœ¨

πŸ“¦ where this page comes from