hl_state_dum...monitor_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to this little slice of the Kernel API Manual β€” the page header tag is the very cute hl_state_dum...monitor_name(9), and the function we're hyping up is hl_state_dump_get_monitor_name.

It's the slay little helper that transforms a monitor object dump into a monitor name, if that name is available. lowkey iconic. πŸ’…

✨ SYNOPSIS ✨

const char * hl_state_dump_get_monitor_name (struct hl_device *hdev , struct hl_mon_state_dump *mon );

πŸŽ€ ARGUMENTS πŸŽ€

  • hdev β€” pointer to the device. fr fr, that's the device pointer. 🫢
  • mon β€” monitor state dump. the dump in question, bestie. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns a name literal, or NULL if it hasn't been resolved. That's the whole vibe check: name if available, NULL if not. no cap.

🌸 NOTE 🌸

returning NULL shall not be considered as a failure β€” not all monitors are named, bestie. so don't come for this function's wig over a NULL. πŸ˜­πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./drivers/accel/habanalabs/common/state_dump.c


mwah πŸ’‹ this page comes from ./drivers/accel/habanalabs/common, dated October 2026, with the manual tag hl_state_dum...monitor_name(9). periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from