Lines Matching refs:c2c_hists

48 struct c2c_hists {  struct
63 struct c2c_hists *hists; argument
88 struct c2c_hists hists;
195 static int c2c_hists__init(struct c2c_hists *hists,
199 static struct c2c_hists*
205 struct c2c_hists *hists; in he__get_c2c_hists()
281 struct c2c_hists *c2c_hists = &c2c.hists; in process_sample_event() local
322 he = hists__add_entry_ops(&c2c_hists->hists, &c2c_entry_ops, in process_sample_event()
330 c2c_add_stats(&c2c_hists->stats, &stats); in process_sample_event()
335 hists__inc_nr_samples(&c2c_hists->hists, he->filtered); in process_sample_event()
352 c2c_hists = he__get_c2c_hists(he, c2c.cl_sort, 2); in process_sample_event()
353 if (!c2c_hists) in process_sample_event()
356 he = hists__add_entry_ops(&c2c_hists->hists, &c2c_entry_ops, in process_sample_event()
364 c2c_add_stats(&c2c_hists->stats, &stats); in process_sample_event()
372 hists__inc_nr_samples(&c2c_hists->hists, he->filtered); in process_sample_event()
811 struct c2c_hists *hists; in percent_costly_snoop()
817 hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); in percent_costly_snoop()
902 struct c2c_hists *hists; in total_stats()
904 hists = container_of(he->hists, struct c2c_hists, hists); in total_stats()
918 struct c2c_hists *hists; \
920 hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); \
2069 static int c2c_hists__init(struct c2c_hists *hists, in c2c_hists__init()
2088 static int c2c_hists__reinit(struct c2c_hists *c2c_hists, in c2c_hists__reinit() argument
2092 perf_hpp__reset_output_field(&c2c_hists->list); in c2c_hists__reinit()
2093 return hpp_list__parse(&c2c_hists->list, output, sort); in c2c_hists__reinit()
2202 struct c2c_hists *c2c_hists; in calc_width() local
2204 c2c_hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); in calc_width()
2205 hists__calc_col_len(&c2c_hists->hists, &c2c_he->he); in calc_width()
2229 struct c2c_hists *c2c_hists; in resort_cl_cb() local
2233 c2c_hists = c2c_he->hists; in resort_cl_cb()
2235 if (display && c2c_hists) { in resort_cl_cb()
2241 c2c_hists__reinit(c2c_hists, c2c.cl_output, c2c.cl_resort); in resort_cl_cb()
2243 hists__collapse_resort(&c2c_hists->hists, NULL); in resort_cl_cb()
2244 hists__output_resort_cb(&c2c_hists->hists, NULL, filter_cb); in resort_cl_cb()
2444 static void print_cacheline(struct c2c_hists *c2c_hists, in print_cacheline() argument
2457 hists__fprintf_headers(&c2c_hists->hists, out); in print_cacheline()
2468 hists__fprintf(&c2c_hists->hists, false, 0, 0, 0, out, false); in print_cacheline()
2624 struct c2c_hists *c2c_hists; in perf_c2c__browse_cacheline() local
2641 c2c_hists = c2c_he->hists; in perf_c2c__browse_cacheline()
2643 cl_browser = c2c_cacheline_browser__new(&c2c_hists->hists, he); in perf_c2c__browse_cacheline()