STRUCT SYM_HIST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct sym_hist(9) ✨

Kernel API Manual walkthrough, bestie-style β€” we're doing this πŸ’…

🌸 NAME 🌸

struct sym_hist β€” symbol histogram information for an event, fr fr. That's the whole vibe: it's the struct for histogram info tied to an event. πŸŽ€

✨ SYNOPSIS ✨

struct sym_hist {
    u64 nr_samples;
    u64 period;
 };

πŸ’– Members πŸ’–

  • nr_samples β€” Total number of samples. Literally the count, no cap. ✨
  • period β€” Sum of sample periods. All the periods added up together. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

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

And that's the page, bestie 🫢 source/version vibe: ./tools/perf/util Β· October 2026 Β· struct sym_hist(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from