pt_buffer_region(9)
π pt_buffer_region(9) π
okay so bestie, welcome to the Kernel API Manual β yes it's a section 9 page, and yes we're gonna get through it together π«Ά this one is short and sweet, no cap.
β¨ NAME β¨
pt_buffer_region β bestie, all this does is obtain the current output region's address π
that's it. that's the whole gig.
πΈ SYNOPSIS πΈ
void * pt_buffer_region (struct pt_buffer *buf );
like, she returns a void *, she takes one struct pt_buffer *, she's lowkey iconic for how little she asks of you π₯
π ARGUMENTS π
bufβ the PT buffer π hand her your buffer and she'll do the thing. that's the vibe.
π¦ SEE ALSO π¦
okay this is the part where she tags literally everyone in the group chat π and ngl it's a lot of people, but we're not skipping anybody, periodt:
- the kernel file
./arch/x86/events/intel/pt.cβ the mothership π 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_size(9)β her cousin, clearly π«Ά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)
go read them all, i'll wait π
fr fr bestie, if you're debugging PT stuff and you don't know what region you're writing into, this is your girl. no cap. ππ
that's the whole page!! π§ mwah π this lil masterpiece lives over in ./arch/x86/events/intel, dated October 2026, and it's filed under pt_buffer_region(9) in that same Kernel API Manual we opened with. slay, 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