PFRT_LOG_IOC_GET_INFO(9)
π 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:
- Kernel file
./include/uapi/linux/pfrut.h PFRU_IOC_SET_REV(9)PFRU_IOC_STAGE(9)PFRU_IOC_ACTIVATE(9)PFRU_IOC_STAGE_ACTIVATE(9)PFRU_IOC_QUERY_CAP(9)struct pfru_payload_hdr(9)struct pfru_update_cap_info(9)struct pfru_com_buf_info(9)struct pfru_updated_result(9)struct pfrt_log_data_info(9)struct pfrt_log_info(9)PFRT_LOG_IOC_SET_INFO(9)PFRT_LOG_IOC_GET_DATA_INFO(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms