Lines Matching refs:hists
71 struct hists { struct
130 struct hist_entry *hists__add_entry(struct hists *hists,
138 struct hist_entry *hists__add_entry_ops(struct hists *hists,
157 struct hists *hists);
165 void hists__output_resort(struct hists *hists, struct ui_progress *prog);
166 void hists__output_resort_cb(struct hists *hists, struct ui_progress *prog,
168 int hists__collapse_resort(struct hists *hists, struct ui_progress *prog);
170 void hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel);
171 void hists__delete_entries(struct hists *hists);
172 void hists__output_recalc_col_len(struct hists *hists, int max_rows);
174 u64 hists__total_period(struct hists *hists);
175 void hists__reset_stats(struct hists *hists);
176 void hists__inc_stats(struct hists *hists, struct hist_entry *h);
177 void hists__inc_nr_events(struct hists *hists, u32 type);
178 void hists__inc_nr_samples(struct hists *hists, bool filtered);
182 size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows,
187 void hists__filter_by_dso(struct hists *hists);
188 void hists__filter_by_thread(struct hists *hists);
189 void hists__filter_by_symbol(struct hists *hists);
190 void hists__filter_by_socket(struct hists *hists);
192 static inline bool hists__has_filter(struct hists *hists) in hists__has_filter() argument
194 return hists->thread_filter || hists->dso_filter || in hists__has_filter()
195 hists->symbol_filter_str || (hists->socket_filter > -1); in hists__has_filter()
198 u16 hists__col_len(struct hists *hists, enum hist_column col);
199 void hists__set_col_len(struct hists *hists, enum hist_column col, u16 len);
200 bool hists__new_col_len(struct hists *hists, enum hist_column col, u16 len);
201 void hists__reset_col_len(struct hists *hists);
202 void hists__calc_col_len(struct hists *hists, struct hist_entry *he);
204 void hists__match(struct hists *leader, struct hists *other);
205 int hists__link(struct hists *leader, struct hists *other);
209 struct hists hists; member
212 static inline struct perf_evsel *hists_to_evsel(struct hists *hists) in hists_to_evsel() argument
214 struct hists_evsel *hevsel = container_of(hists, struct hists_evsel, hists); in hists_to_evsel()
218 static inline struct hists *evsel__hists(struct perf_evsel *evsel) in evsel__hists()
221 return &hevsel->hists; in evsel__hists()
224 static __pure inline bool hists__has_callchains(struct hists *hists) in hists__has_callchains() argument
226 return hists->has_callchains; in hists__has_callchains()
230 int __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list);
232 struct rb_root *hists__get_rotate_entries_in(struct hists *hists);
244 struct hists *hists, int line, int *span);
246 struct hists *hists);
326 #define hists__for_each_format(hists, format) \ argument
327 perf_hpp_list__for_each_format((hists)->hpp_list, fmt)
329 #define hists__for_each_sort_list(hists, format) \ argument
330 perf_hpp_list__for_each_sort_list((hists)->hpp_list, fmt)
360 bool perf_hpp__defined_dynamic_entry(struct perf_hpp_fmt *fmt, struct hists *hists);
374 struct hists *hists) in perf_hpp__should_skip() argument
380 !perf_hpp__defined_dynamic_entry(format, hists)) in perf_hpp__should_skip()
386 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists);
387 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists);
389 void hists__reset_column_width(struct hists *hists);
485 unsigned int hists__sort_list_width(struct hists *hists);
486 unsigned int hists__overhead_width(struct hists *hists);
520 int hists__fprintf_headers(struct hists *hists, FILE *fp);
521 int __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq);
523 static inline int hists__scnprintf_title(struct hists *hists, char *bf, size_t size) in hists__scnprintf_title() argument
525 return __hists__scnprintf_title(hists, bf, size, true); in hists__scnprintf_title()