annotate_get_basic_blocks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to annotate_get_basic_blocks(9) from the Kernel API Manual β€” literally the function for Get basic blocks for given address range. no cap, that's the whole name. πŸŽ€

πŸŽ€ SYNOPSIS πŸŽ€

int annotate_get_basic_blocks (struct symbol *sym , s64 src , s64 dst ,
       struct list_head *head );

🌸 ARGUMENTS 🌸

  • sym β€” symbol to annotate. main character energy. 🧚
  • src β€” source address. where the journey starts. ✨
  • dst β€” destination address. where we're headed. πŸ¦‹
  • head β€” list head to save basic blocks. the collection point, periodt. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, bestie: this function traverses disasm_lines from src to dst and saves them in a list of annotated_basic_block to head. It uses BFS to find the shortest path between the two. The basic_block_link is to maintain parent links so that it can build a list of blocks from the start. slay. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


πŸ’– that's the whole page, bestie β€” source/version ./tools/perf/util, date October 2026, manual annotate_get_basic_blocks(9). mwah, go annotate those basic blocks. 🫢

πŸ“¦ where this page comes from