Home
last modified time | relevance | path

Searched refs:sizeof_sym_hist (Results 1 – 2 of 2) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dannotate.h109 int sizeof_sym_hist; member
126 (notes->src->sizeof_sym_hist * idx)); in annotation__histogram()
Dannotate.c434 size_t sizeof_sym_hist; in symbol__alloc_hist() local
440 sizeof_sym_hist = (sizeof(struct sym_hist) + size * sizeof(u64)); in symbol__alloc_hist()
443 if (sizeof_sym_hist > (SIZE_MAX - sizeof(*notes->src)) in symbol__alloc_hist()
447 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist); in symbol__alloc_hist()
450 notes->src->sizeof_sym_hist = sizeof_sym_hist; in symbol__alloc_hist()
463 notes->src->nr_histograms * notes->src->sizeof_sym_hist); in symbol__annotate_zero_histograms()
1300 memset(h, 0, notes->src->sizeof_sym_hist); in symbol__annotate_zero_histogram()