drm_show_memory_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_show_memory_stats πŸ’…

okay so bestie, welcome to drm_show_memory_stats(9) β€” this is the Kernel API Manual page for it, and honestly? it's a little helper with main character energy πŸŽ€ it's the "collect and show standard fdinfo memory stats" girly, and it does exactly what it says on the tin ✨


🌸 NAME 🌸

drm_show_memory_stats β€” the helper to collect and show standard fdinfo memory stats, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void drm_show_memory_stats (struct drm_printer *p , struct drm_file
*file );

like, that's the whole signature. so clean. so iconic. πŸ’œ


πŸ’– ARGUMENTS πŸ’–

  • p β€” the printer to print the output to πŸ–¨οΈ it's literally where the words go, bestie.
  • file β€” the DRM file πŸ“ the file we're snooping through, respectfully.

⭐ DESCRIPTION ⭐

so this helper iterates over GEM objects with a handle allocated in the specified file πŸ‘‘ that's it, that's the whole vibe. it loops through them and does the showing thing. periodt.


πŸ”₯ SEE ALSO πŸ”₯

the group chat of related reads, ft. the whole drm_file.c crew πŸ˜­πŸ’€


🫢 ok that's the whole page, bestie β€” every flag, every arg, every reference, all accounted for. go show those memory stats πŸ’…

mwah πŸ’‹ this page lives in ./drivers/gpu/drm, it's dated October 2026, and it's still out here answering to the name drm_show_memory_stats(9) β€” slay, honestly 🌈⭐

πŸ“¦ where this page comes from