STRUCT ANNOTATED_BASIC_BLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct annotated_basic_block(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a tiny lil struct page, and honestly? she's cute. let's get into it πŸŽ€


🌸 NAME 🌸

struct annotated_basic_block β€” literally just a basic block of instructions, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

struct annotated_basic_block {
    struct list_head list;
    struct disasm_line *begin;
    struct disasm_line *end;
 };

that's her!! that's the whole struct!! no cap, she's compact πŸ‘‘


πŸ’… Members πŸ’…

  • list β€” the list node, aka her little handle for hanging out in a list 🫢
  • begin β€” the start instruction in the block ⭐ where it all begins, main character energy fr
  • end β€” the end instruction in the block 🌈 where it wraps up, periodt

πŸ‘€ SEE ALSO πŸ‘€

bestie pls go touch these other kernel files/structs too, they're all connected iykyk:

  • Kernel file ./tools/perf/util/annotate.h
  • struct sym_hist(9)
  • struct cyc_hist(9)
  • struct annotated_source(9)
  • struct annotated_branch(9)
  • struct annotated_op_loc(9)
  • struct annotated_insn_loc(9)

lowkey iconic that this whole thing lives under ./tools/perf/util β€” go look, I'll wait πŸ’œ

and that's a wrap on this one, bestie!! mwah πŸ’‹ this page came from ./tools/perf/util, dated October 2026, and the title is still struct annot..._basic_block(9) in case you forgot already πŸ™ˆ slay, bye!! πŸ§šβ€β™€οΈπŸ’–βœ¨

πŸ“¦ where this page comes from