hl_state_du...single_block(9)
πΈ NAME πΈ
Okay bestie, this is the hl_state_du...single_block(9) page from the Kernel API Manual, and the main character is hl_state_dump_print_monitors_single_block β it prints active monitors on a single block. Thatβs the whole vibe. π
β¨ SYNOPSIS β¨
int hl_state_dump_print_monitors_single_block (struct hl_device *hdev ,
u32 index , char **buf , size_t *size , size_t *offset );
π ARGUMENTS π
hdevβ pointer to the device. The device in question, your fave struct, no cap. π«Άindexβ sync manager block index starting withE_N. Keep that starting point in mind, bestie. β¨bufβ destination buffer double pointer to be used withhl_snprintf_resize. Double pointer, double the responsibility. πsizeβ pointer to the size container. Itβs giving βhold the size,β literally. πoffsetβ pointer to the offset container. The offset lives here, periodt. π¦
π₯ DESCRIPTION π₯
Returns 0 on success or error code on failure. Thatβs the return contract, bestie: 0 means success, error code means failure. No extra lore, no secret plot twist. π
π¦ SEE ALSO π¦
Kernel file: ./drivers/accel/habanalabs/common/state_dump.c
The whole squad:
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(9)hl_state_dump_print_engine_fences(9)hl_state_dump_print_fences(9)hl_state_dump(9)
Source/version: ./drivers/accel/habanalabs/common; date: October 2026; manual: hl_state_du...single_block(9). xoxo, your Unix bestie π β 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