topa_insert_pages(9)
π NAME π
okay bestie, welcome to topa_insert_pages(9) from the Kernel API Manual πΈ β this one is literally topa_insert_pages and its whole job is to create a list of ToPA tables β¨
π SYNOPSIS π
int topa_insert_pages (struct pt_buffer *buf , int cpu , gfp_t gfp );
π¦ ARGUMENTS π¦
bufβ the PT buffer being initialized, main character energy πcpuβ the CPU on which to allocate, no cap π§gfpβ allocation flags, iconic as always β
π DESCRIPTION π
This initializes a list of ToPA tables with entries from the data_pages provided by rb_alloc_aux π periodt.
π₯ RETURN π₯
0 on success or error code π β short, sweet, and very much to the point.
π SEE ALSO π
Kernel file ./arch/x86/events/intel/pt.c β plus the whole friend group:
struct topa(9)struct topa_page(9)topa_alloc(9)topa_free(9)topa_insert_table(9)topa_table_full(9)pt_topa_dump(9)pt_buffer_advance(9)pt_update_head(9)pt_buffer_region(9)pt_buffer_region_size(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)
mwah π this cutie came from source/version ./arch/x86/events/intel and the page is dated October 2026 π«Άβ¨
π¦ 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