hl_state_dump_print_fences(9)
π hl_state_dump_print_fences(9) π
okay so bestie, welcome to the Kernel API Manual page for hl_state_dump_print_fences β yes that's the whole title, we're being fancy today β¨ this one lives in the Kernel API Manual and it's literally about printing active fences. no cap, that's the vibe.
πΈ NAME πΈ
hl_state_dump_print_fences β prints out the active fences for you π
β¨ SYNOPSIS β¨
int hl_state_dump_print_fences (struct hl_device *hdev , char **buf ,
size_t *size , size_t *offset );
that's the whole signature, copy it exactly, don't be weird about it π«Ά
π ARGUMENTS π
hdevβ pointer to the device π like, the device you're looking at, bestie.bufβ destination buffer double pointer, and it's specifically meant to be used withhl_snprintf_resizeπ§ so don't try to be cute and use it with something else.sizeβ pointer to the size container π¦ (yes, a pointer. to the size. container.)offsetβ pointer to the offset container π (also a pointer, also a container, we love consistency)
π¦ SEE ALSO π¦
- Kernel file
./drivers/accel/habanalabs/common/state_dump.cβ that's the file, go read it, iykyk π 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_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(9)
that's the whole friend group, fr fr β go say hi to all of them π
lowkey this page has no OPTIONS, no ENVIRONMENT, no EXIT STATUS, no BUGS, no COPYRIGHT section β so if you were waiting for the drama, there is none π it's just the signature, the four arguments, and the see-also list. iconic minimalist behavior honestly.
and that's the whole page, bestie π this came to you from ./drivers/accel/habanalabs/common β version/datestamp October 2026 β and yes we're still on hl_state_dump_print_fences(9) π mwah, go print some fences, slay π
β¨
π¦ 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