pnv_eeh_get_log(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pnv_eeh_get_log(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one is a little function with a big job, and we're gonna get into it. no gatekeeping here, periodt.


🌸 NAME 🌸

pnv_eeh_get_log β€” it retrieves the error log. that's the vibe. that's the whole thing. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int pnv_eeh_get_log (struct eeh_pe *pe , int severity , char *drv_log ,
       unsigned long len );

like, look at her. four arguments, returns an int. main character energy fr fr πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • pe β€” the EEH PE. yes queen, that's the one we're pulling the log from 🫢
  • severity β€” tells you whether you're getting the temporary or permanent error log. pick your fighter πŸ’€
  • drv_log β€” the driver log, which gets combined with the retrieved error log. they're getting blended together, no cap πŸ“
  • len β€” the length of drv_log. gotta know how much log you're working with, obviously ✨

πŸ’œ DESCRIPTION πŸ’œ

So what does it do? It retrieves the temporary or permanent error from the PE. That's it. That's the whole plot. 🌈

Lowkey iconic in its simplicity ngl. You hand it a PE, you tell it which flavor of error log you want (temporary or permanent), you give it a driver log and that log's length, and it goes and gets the error from the PE so the driver log can be combined with it. slay πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

go read the whole friend group, bestie, they all hang out together πŸ§šβ€β™€οΈ


and that's the page!! mwah πŸ’‹

source location: ./arch/powerpc/platforms/powernv 🌸 dated October 2026 πŸŽ€ kernel api manual, but make it cute πŸ’– ok bye ily 🫢

πŸ“¦ where this page comes from