Lines Matching refs:cycles_hist
773 zfree(&src->cycles_hist); in annotated_source__delete()
814 notes->src->cycles_hist = calloc(size, sizeof(struct cyc_hist)); in symbol__alloc_hist_cycles()
815 if (notes->src->cycles_hist == NULL) in symbol__alloc_hist_cycles()
828 if (notes->src->cycles_hist) in symbol__annotate_zero_histograms()
829 memset(notes->src->cycles_hist, 0, in symbol__annotate_zero_histograms()
932 if (!notes->src->cycles_hist) { in symbol__cycles_hist()
937 return notes->src->cycles_hist; in symbol__cycles_hist()
976 struct cyc_hist *cycles_hist; in symbol__account_cycles() local
981 cycles_hist = symbol__cycles_hist(sym); in symbol__account_cycles()
982 if (cycles_hist == NULL) in symbol__account_cycles()
994 return __symbol__account_cycles(cycles_hist, in symbol__account_cycles()
1081 if (!notes->src || !notes->src->cycles_hist) in annotation__compute_ipc()
1093 ch = ¬es->src->cycles_hist[offset]; in annotation__compute_ipc()