Lines Matching refs:hists
85 struct hists { struct
144 struct hist_entry *hists__add_entry(struct hists *hists,
152 struct hist_entry *hists__add_entry_ops(struct hists *hists,
161 struct hist_entry *hists__add_entry_block(struct hists *hists,
175 struct hists *hists);
185 void hists__output_resort(struct hists *hists, struct ui_progress *prog);
186 void hists__output_resort_cb(struct hists *hists, struct ui_progress *prog,
188 int hists__collapse_resort(struct hists *hists, struct ui_progress *prog);
190 void hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel);
191 void hists__delete_entries(struct hists *hists);
192 void hists__output_recalc_col_len(struct hists *hists, int max_rows);
194 struct hist_entry *hists__get_entry(struct hists *hists, int idx);
196 u64 hists__total_period(struct hists *hists);
197 void hists__reset_stats(struct hists *hists);
198 void hists__inc_stats(struct hists *hists, struct hist_entry *h);
199 void hists__inc_nr_events(struct hists *hists);
200 void hists__inc_nr_samples(struct hists *hists, bool filtered);
202 size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows,
208 void hists__filter_by_dso(struct hists *hists);
209 void hists__filter_by_thread(struct hists *hists);
210 void hists__filter_by_symbol(struct hists *hists);
211 void hists__filter_by_socket(struct hists *hists);
213 static inline bool hists__has_filter(struct hists *hists) in hists__has_filter() argument
215 return hists->thread_filter || hists->dso_filter || in hists__has_filter()
216 hists->symbol_filter_str || (hists->socket_filter > -1); in hists__has_filter()
219 u16 hists__col_len(struct hists *hists, enum hist_column col);
220 void hists__set_col_len(struct hists *hists, enum hist_column col, u16 len);
221 bool hists__new_col_len(struct hists *hists, enum hist_column col, u16 len);
222 void hists__reset_col_len(struct hists *hists);
223 void hists__calc_col_len(struct hists *hists, struct hist_entry *he);
225 void hists__match(struct hists *leader, struct hists *other);
226 int hists__link(struct hists *leader, struct hists *other);
227 int hists__unlink(struct hists *hists);
231 struct hists hists; member
234 static inline struct evsel *hists_to_evsel(struct hists *hists) in hists_to_evsel() argument
236 struct hists_evsel *hevsel = container_of(hists, struct hists_evsel, hists); in hists_to_evsel()
240 static inline struct hists *evsel__hists(struct evsel *evsel) in evsel__hists()
243 return &hevsel->hists; in evsel__hists()
246 static __pure inline bool hists__has_callchains(struct hists *hists) in hists__has_callchains() argument
248 return hists->has_callchains; in hists__has_callchains()
252 int __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list);
254 struct rb_root_cached *hists__get_rotate_entries_in(struct hists *hists);
267 struct hists *hists, int line, int *span);
269 struct hists *hists);
349 #define hists__for_each_format(hists, format) \ argument
350 perf_hpp_list__for_each_format((hists)->hpp_list, format)
352 #define hists__for_each_sort_list(hists, format) \ argument
353 perf_hpp_list__for_each_sort_list((hists)->hpp_list, format)
382 bool perf_hpp__defined_dynamic_entry(struct perf_hpp_fmt *fmt, struct hists *hists);
396 struct hists *hists) in perf_hpp__should_skip() argument
402 !perf_hpp__defined_dynamic_entry(format, hists)) in perf_hpp__should_skip()
408 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists);
409 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists);
411 void hists__reset_column_width(struct hists *hists);
546 unsigned int hists__sort_list_width(struct hists *hists);
547 unsigned int hists__overhead_width(struct hists *hists);
582 int hists__fprintf_headers(struct hists *hists, FILE *fp);
583 int __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq);
585 static inline int hists__scnprintf_title(struct hists *hists, char *bf, size_t size) in hists__scnprintf_title() argument
587 return __hists__scnprintf_title(hists, bf, size, true); in hists__scnprintf_title()