hl_state_dump_get_sync_name(9)
π hl_state_dump_get_sync_name(9) β the Kernel API Manual, bestie edition π
okay so welcome to the hl_state_dump_get_sync_name(9) page, part of the Kernel API Manual β¨ this one's short and sweet and honestly kind of iconic for it.
πΈ NAME πΈ
hl_state_dump_get_sync_name β transform sync object id to name if available
like, you hand it an id, it hands you a name back. if it can. that's the whole gig π
β¨ SYNOPSIS β¨
const char * hl_state_dump_get_sync_name (struct hl_device *hdev , u32 sync_id );
that's the whole signature, no cap. she takes two things and returns a const char * π«Ά
π¦ ARGUMENTS π¦
hdevβ pointer to the device. the main character of the story, lowkey πsync_idβ sync object id. the number we're tryna turn into a name π
π DESCRIPTION π
Returns a name literal β or NULL if it's not resolved. that's it. that's the function. she's straightforward and we respect her for it π
π NOTE π
getting NULL back shall not be considered as a failure, okay?? π not all sync objects are named β some of them just show up to the function like "nameless, mysterious, unbothered" and that's valid π§ fr fr, don't @ her about it.
π SEE ALSO π
the whole friend group π«Ά β go say hi:
- 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_monitor_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)
and that's the page!! π this lil beauty lives in ./drivers/accel/habanalabs/common and shipped out October 2026 β mwah, go read some more manpages bestie, iykyk πβ¨π¦
π¦ 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