pt_buffer_region_size(9)
π pt_buffer_region_size(9) β a Kernel API Manual moment π
okay so before we even get into it: this is a page from the Kernel API Manual, and yes bestie, we're reading kernel internals for fun now, that's just who we are π
β¨ NAME β¨
pt_buffer_region_size β obtain current output region's size π¦
like, it literally tells you how big the output region you're currently sitting in is. that's it. that's the whole vibe.
πΈ SYNOPSIS πΈ
size_t pt_buffer_region_size (struct pt_buffer *buf );
(yes the space before the ) is staying, it's iconic, don't touch it π
)
π«Ά ARGUMENTS π«Ά
bufβ PT buffer. that's the whole description. one line. she said "PT buffer" and nothing else, and honestly? confident. minimal. main character energy π
π₯ SEE ALSO π₯
okay this is the part where the page goes absolutely feral with cross-references, and we are NOT skipping a single one β every link stays, no cap:
- Kernel file
./arch/x86/events/intel/pt.c struct topa(9)struct topa_page(9)topa_alloc(9)topa_free(9)topa_insert_table(9)topa_table_full(9)topa_insert_pages(9)pt_topa_dump(9)pt_buffer_advance(9)pt_update_head(9)pt_buffer_region(9)pt_handle_status(9)pt_read_offset(9)pt_buffer_reset_markers(9)pt_buffer_reset_offsets(9)pt_buffer_fini_topa(9)pt_buffer_init_topa(9)pt_buffer_setup_aux(9)pt_buffer_free_aux(9)intel_pt_interrupt(9)
that's twenty links and one file path, and every single one of them is here because we don't do half-finished around here β¨ literally all of them. go read them. iykyk π
ngl the whole page is short, but that's the assignment β it does one thing (hands you the current output region's size) and it does it slayfully π
mwah π thanks for reading bestie, this page came from ./arch/x86/events/intel and it's dated October 2026 β see you in the next (9) section, muah, bye ππ¦β
π¦ 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