STRUCT ANNOTATED_DATA_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, welcome to the Kernel API Manual page for struct annotated_data_type. This is the struct that's literally labeled Data type to profile, and we're gonna walk through every field like it's the group chat receipts. πŸ’–


✨ NAME ✨

  • struct annotated_data_type β€” Data type to profile

πŸŽ€ SYNOPSIS πŸŽ€

here's the whole struct, copied exactly β€” no edits, no cap:

       struct annotated_data_type {
           struct rb_node node;
           struct annotated_member self;
           int nr_histograms;
           struct type_hist **histograms;
        };

yes, int nr_histograms; is right there in the synopsis too β€” don't let the Members list below make you forget it. πŸ‘€

🫢 Members 🫢

  • node β€” RB-tree node for dso->type_tree
  • self β€” Actual type information
  • histograms β€” An array of pointers to histograms

🌸 Description 🌸

This represents a data type accessed by samples in the profile data. Lowkey iconic: it's the struct holding the data-type info that shows up in the profile data. Keep that vibe in mind. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./tools/perf/util/annotate-data.h struct β€” plus the whole linked manual-page squad, no skipping:

  • annotated_member(9)
  • struct type_hist_entry(9)
  • struct type_hist(9)
  • struct data_loc_info(9)
  • struct annotated_data_stat(9)

mwah πŸ’‹ that's the whole page, bestie. Source/version: ./tools/perf/util. Date: October 2026. struct annotated_data_type(9) out. 🫢✨

πŸ“¦ where this page comes from