Home
last modified time | relevance | path

Searched refs:sym_hist (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
H A Dannotate.h228 struct sym_hist { struct
270 struct sym_hist *histograms;
324 static inline struct sym_hist *annotated_source__histogram(struct annotated_source *src, int idx) in annotated_source__histogram()
329 static inline struct sym_hist *annotation__histogram(struct annotation *notes, int idx) in annotation__histogram()
H A Dannotate.c791 if (size > (SIZE_MAX - sizeof(struct sym_hist)) / sizeof(struct sym_hist_entry)) in annotated_source__alloc_histograms()
794 sizeof_sym_hist = (sizeof(struct sym_hist) + size * sizeof(struct sym_hist_entry)); in annotated_source__alloc_histograms()
889 struct sym_hist *h; in __symbol__inc_addr_samples()
2107 static void calc_percent(struct sym_hist *sym_hist, in calc_percent() argument
2116 hits += sym_hist->addr[offset].nr_samples; in calc_percent()
2117 period += sym_hist->addr[offset].period; in calc_percent()
2121 if (sym_hist->nr_samples) { in calc_percent()
2124 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent()
2130 if (sym_hist in calc_percent()
2156 struct sym_hist *sym_hist; annotation__calc_percent() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dannotate.h229 struct sym_hist { struct
271 struct sym_hist *histograms;
334 static inline struct sym_hist *annotated_source__histogram(struct annotated_source *src, int idx) in annotated_source__histogram()
339 static inline struct sym_hist *annotation__histogram(struct annotation *notes, int idx) in annotation__histogram()
H A Dannotate.c833 if (size > (SIZE_MAX - sizeof(struct sym_hist)) / sizeof(struct sym_hist_entry)) in annotated_source__alloc_histograms()
836 sizeof_sym_hist = (sizeof(struct sym_hist) + size * sizeof(struct sym_hist_entry)); in annotated_source__alloc_histograms()
931 struct sym_hist *h; in __symbol__inc_addr_samples()
2234 static void calc_percent(struct sym_hist *sym_hist, in calc_percent() argument
2243 hits += sym_hist->addr[offset].nr_samples; in calc_percent()
2244 period += sym_hist->addr[offset].period; in calc_percent()
2248 if (sym_hist->nr_samples) { in calc_percent()
2251 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent()
2257 if (sym_hist in calc_percent()
2283 struct sym_hist *sym_hist; annotation__calc_percent() local
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
H A Dannotate.c31 struct sym_hist *symhist; in perf_gtk__get_percent()
/kernel/linux/linux-6.6/tools/perf/ui/gtk/
H A Dannotate.c31 struct sym_hist *symhist; in perf_gtk__get_percent()

Completed in 11 milliseconds