1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_UI_BROWSER_HISTS_H_
3 #define _PERF_UI_BROWSER_HISTS_H_ 1
5 #include "ui/browser.h"
10 struct hist_entry
*he_selection
;
11 struct map_symbol
*selection
;
12 struct hist_browser_timer
*hbt
;
13 struct pstack
*pstack
;
19 u64 nr_non_filtered_entries
;
20 u64 nr_hierarchy_entries
;
21 u64 nr_callchain_rows
;
24 /* Get title string. */
25 int (*title
)(struct hist_browser
*browser
,
26 char *bf
, size_t size
);
29 struct hist_browser
*hist_browser__new(struct hists
*hists
);
30 void hist_browser__delete(struct hist_browser
*browser
);
31 int hist_browser__run(struct hist_browser
*browser
, const char *help
,
32 bool warn_lost_event
);
33 void hist_browser__init(struct hist_browser
*browser
,
35 #endif /* _PERF_UI_BROWSER_HISTS_H_ */