STRUCT CALL_PATH_ROOT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct call_path_root(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– you're literally about to meet struct call_path_root β€” the root of all call paths. yes, THE root. main character energy fr fr πŸ‘‘


🌸 NAME 🌸

struct call_path_root β€” root of all call paths. that's it, that's the vibe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct call_path_root {
    struct call_path call_path;
    struct list_head blocks;
    size_t next;
    size_t sz;
};

like, look at her. four members, zero notes πŸ’…


πŸ¦‹ Members πŸ¦‹

  • call_path β€” the root call path itself. the OG. the blueprint. everything else descends from her πŸ‘‘
  • blocks β€” list of blocks to store call paths. think of it as her little storage shelf πŸ—„οΈβœ¨
  • next β€” next free space. she's keeping track so you don't have to 🧚
  • sz β€” number of spaces. yes literally, the count of spaces 🌈

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./tools/perf/util/call-path.h
  • struct call_path(9)

iykyk β€” go read those next, no cap πŸ“šπŸ’œ


bestie reminder: this page lives in ./tools/perf/util, and it's dated October 2026 β€” so go forth, slay, and may your call paths always have a root πŸŒΈβœ¨πŸŽ€πŸ’…
πŸ“¦ where this page comes from