STRUCT TOPA_PAGE(9)
π NAME π
okay so bestie, we're looking at struct topa_page(9) from the Kernel API Manual, and it's literally a page-sized ToPA table with metadata at the top. no cap, that's the whole serve. β¨
β¨ SYNOPSIS β¨
struct topa_page {
struct topa_entry table[TENTS_PER_PAGE];
struct topa topa;
};
π Members π
tableβ the actual ToPA table entries, exactly as PT hardware understands them. she's the main character of the page πtopaβ the metadata. lowkey essential, highkey iconic π
π SEE ALSO π
Kernel file: ./arch/x86/events/intel/pt.c β and the whole friend group is:
struct topa(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_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)
that's the struct topa_page(9) tea: source/version ./arch/x86/events/intel, dated October 2026. byeee bestie, go read some ToPA tables ππ«Ά
π¦ 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