STRUCT TYPE_HIST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is struct type_hist β€” Type histogram for each event πŸ’– it's the struct type_hist(9) page from the Kernel API Manual, and it's literally giving per-event type histogram realness ✨

✨ SYNOPSIS ✨

struct type_hist {
    u64 nr_samples;
    u64 period;
    struct type_hist_entry  addr[];
};

🫢 Members 🫢

  • nr_samples β€” total number of samples in this data type. That's the sample tally, no cap πŸ’…
  • period β€” total count of the event in this data type. counted, iconic, periodt πŸ”₯

psst β€” addr[] is chilling in the struct too, exactly like the synopsis shows 🫢

πŸ”Ž SEE ALSO πŸ”Ž

  • Kernel file ./tools/perf/util/annotate-data.h struct annotated_member(9), struct type_hist_entry(9), struct annotated_data_type(9), struct data_loc_info(9), struct annotated_data_stat(9)

okay that's the whole vibe 🫢 source check: ./tools/perf/util; date check: October 2026; manual check: struct type_hist(9) β€” bye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from