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

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dannotate.h109 int sizeof_sym_hist; member in struct:annotated_source
126 (notes->src->sizeof_sym_hist * idx));
H A Dannotate.c434 size_t sizeof_sym_hist; local
436 /* Check for overflow when calculating sizeof_sym_hist */
440 sizeof_sym_hist = (sizeof(struct sym_hist) + size * sizeof(u64));
443 if (sizeof_sym_hist > (SIZE_MAX - sizeof(*notes->src))
447 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist);
450 notes->src->sizeof_sym_hist = sizeof_sym_hist;
463 notes->src->nr_histograms * notes->src->sizeof_sym_hist);
1300 memset(h, 0, notes->src->sizeof_sym_hist);

Completed in 140 milliseconds