STRUCT ANNOTATED_INSN_LOC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct annotated_insn_loc(9) πŸ’…

okay so bestie, this is the kernel API manual page for struct annotated_insn_loc β€” it's literally the location info of an instruction, and it's tiny but iconic πŸŽ€


✨ NAME ✨

struct annotated_insn_loc β€” location info of instruction πŸ¦‹

✨ SYNOPSIS ✨

struct annotated_insn_loc {
    struct annotated_op_loc ops[INSN_OP_MAX];
 };

like, that's the whole thing. no cap. she's small but she's doing her job πŸ’…

πŸ’– Members πŸ’–

  • ops β€” the array of location info for both the source and target operands ✨ so yeah, each slot in ops (and there are INSN_OP_MAX of them, iykyk) holds the location deets for one operand, and you've got source side and target side covered 🫢
ngl the members section is short here β€” one member, one job, main character energy fr fr πŸ‘‘

🌈 SEE ALSO 🌈

  • Kernel file ./tools/perf/util/annotate.h β€” that's where this lives, go look, it's giving source of truth πŸ’œ
  • struct sym_hist(9) ⭐
  • struct cyc_hist(9) ⭐
  • struct annotated_source(9) ⭐
  • struct annotated_branch(9) ⭐
  • struct annotated_op_loc(9) ⭐ β€” the one that actually fills up that ops array, obsessed
  • struct annotated_basic_block(9) ⭐

and that's the vibe check, bestie πŸ’– this page came out of ./tools/perf/util in October 2026, so when you're deep in the annotate headers at 2am, know that she said exactly that πŸŒΈπŸŽ€βœ¨

πŸ“¦ where this page comes from