hl_state_dum...monitor_name(9)
π 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 πΈ
returningNULLshall not be considered as a failure β not all monitors are named, bestie. so don't come for this function's wig over aNULL. ππ
π SEE ALSO π
Kernel file: ./drivers/accel/habanalabs/common/state_dump.c
hl_format_as_binary(9)resize_to_fit(9)hl_snprintf_resize(9)hl_sync_engine_to_string(9)hl_print_resize_sync_engine(9)hl_state_dump_get_sync_name(9)hl_state_dump_free_sync_to_engine_map(9)hl_state_dump_get_sync_to_engine(9)hl_state_dump_read_sync_objects(9)hl_state_dump_free_sync_objects(9)hl_state_dump_print_syncs_single_block(9)hl_state_dump_print_syncs(9)hl_state_dump_alloc_read_sm_block_monitors(9)hl_state_dump_free_monitors(9)hl_state_dump_print_monitors_single_block(9)hl_state_dump_print_monitors(9)hl_state_dump_print_engine_fences(9)hl_state_dump_print_fences(9)hl_state_dump(9)
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
- 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