PFRT_LOG_IOC_GET_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ PFRT_LOG_IOC_GET_INFO(9) β€” it's a Kernel API Manual moment, bestie

okay so real talk, this one is literally from the Kernel API Manual (section 9, iykyk) and it's lowkey the cutest little info-getter in the whole telemetry situation πŸ’…


✨ NAME ✨

PFRT_LOG_IOC_GET_INFO β€” which is, fr fr, this exact thing:

_IOR(PFRUT_IOCTL_MAGIC, 0x07, struct pfrt_log_info)

like, that's the whole vibe. _IOR, magic PFRUT_IOCTL_MAGIC, number 0x07, and it's carrying a struct pfrt_log_info πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

PFRT_LOG_IOC_GET_INFO

that's it. that's the synopsis. she's simple, she's iconic πŸ‘‘


πŸ’€ RETURN πŸ’€

so here's what you can get back, and ngl the vibes differ a lot:

  • 0 β€” success πŸŽ‰ literally the bestie outcome, everything slayed
  • -EINVAL β€” fail to get the log level 😭 something went wrong on the level-getting front
  • -EFAULT β€” fail to copy the result back to userspace πŸ™ˆ the copy-back did NOT eat, sorry
no cap, that's the whole list β€” success, -EINVAL, and -EFAULT. don't go making up extra ones πŸ’…

🌸 DESCRIPTION 🌸

so what this actually does: it retrieves the log level and the log type of the telemetry ✨ that's the whole assignment, and honestly she ate.

and the info it hands you? it's a struct pfrt_log_info 🫢 like, that's the container, that's the shape of the data, periodt.


🧚 SEE ALSO 🧚

the little family of related things β€” go look at these, they're all main character energy in their own way:


and that's the page, bestie!! πŸ’– source/version is ./include/uapi/linux, dated October 2026 β€” so like, mark your calendars, this manual page is a whole time capsule ⭐🌈 stay slay, go read your ioctls πŸŽ€

πŸ“¦ where this page comes from