NVME_INIT_GET_LOG_TELEMETRY_CTRL-LIBNVME3(2)
π nvme_init_get_log_telemetry_ctrl(9) β libnvme API manual π
okay bestie, welcome to the libnvme API manual, page nine of the function section, and lemme tell you this one is short but it matters π«Ά
β¨ NAME β¨
nvme_init_get_log_telemetry_ctrl β bestie's little helper that initializes the passthru command for Telemetry Controller-Initiated. yes that whole mouthful. she does exactly one thing and she does it flawlessly π
πΈ SYNOPSIS πΈ
void nvme_init_get_log_telemetry_ctrl (struct libnvme_passthru_cmd *cmd
, __u64 lpo , void *log , __u32 len );
it's void, she returns nothing, she just sets things up and vibes. no cap π
π¦ ARGUMENTS π¦
cmdβ the passthru command you're gonna use. this is the main character right here π you hand her over and she gets filled in (respectfully).lpoβ offset into the telemetry data. like, where in the telemetry data are we even looking π§ type__u64, she's fancy like that.logβ the user address for the log page data. this is where the good stuff lands πlenβ length of the provided user buffer that holds the log data, in bytes (yes, bytes, not vibes, keep it exact bestie π)
π₯ DESCRIPTION π₯
so what does she actually do? she initializes the passthru command buffer for the Get Log command, with the LID value set to NVME_LOG_LID_TELEMETRY_CTRL. that's it. that's the whole flex β¨
like, no extra steps, no secret sauce, just a clean passthru command buffer with the right LID value so the Telemetry Controller-Initiated log request actually goes through. iconic behavior honestly π
π heads up: she only fills in the command buffer. the actual cmd you pass in is yours to manage, so don't come for her if your buffer's a mess π
π sign-off π
and that's the whole page bestie, we ate and left no crumbs π₯ this little beauty is from the libnvme API manual, dated October 2026 β go forth, init those telemetry ctrl passthru commands, and slay βπ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms