Linux Perf
hists.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_UI_BROWSER_HISTS_H_
3 #define _PERF_UI_BROWSER_HISTS_H_ 1
4 
5 #include "ui/browser.h"
6 
7 struct annotation_options;
8 
9 struct hist_browser {
10  struct ui_browser b;
11  struct hists *hists;
15  struct pstack *pstack;
16  struct perf_env *env;
18  int print_seq;
19  bool show_dso;
21  float min_pcnt;
25  bool c2c_filter;
26 
27  /* Get title string. */
28  int (*title)(struct hist_browser *browser,
29  char *bf, size_t size);
30 };
31 
32 struct hist_browser *hist_browser__new(struct hists *hists);
33 void hist_browser__delete(struct hist_browser *browser);
34 int hist_browser__run(struct hist_browser *browser, const char *help,
35  bool warn_lost_event);
36 void hist_browser__init(struct hist_browser *browser,
37  struct hists *hists);
38 #endif /* _PERF_UI_BROWSER_HISTS_H_ */
struct perf_env * env
Definition: hists.h:16
bool show_dso
Definition: hists.h:19
u64 nr_non_filtered_entries
Definition: hists.h:22
Definition: env.h:36
int(* title)(struct hist_browser *browser, char *bf, size_t size)
Definition: hists.h:28
struct hist_browser * hist_browser__new(struct hists *hists)
Definition: hists.c:2166
size_t size
Definition: evsel.c:60
struct map_symbol * selection
Definition: hists.h:13
struct hists * hists
Definition: hists.h:11
Definition: sort.h:89
struct annotation_options * annotation_opts
Definition: hists.h:17
bool show_headers
Definition: hists.h:20
u64 nr_callchain_rows
Definition: hists.h:24
struct hist_entry * he_selection
Definition: hists.h:12
struct ui_browser b
Definition: hists.h:10
int print_seq
Definition: hists.h:18
struct hist_browser_timer * hbt
Definition: hists.h:14
u64 nr_hierarchy_entries
Definition: hists.h:23
void hist_browser__delete(struct hist_browser *browser)
Definition: hists.c:2193
float min_pcnt
Definition: hists.h:21
void hist_browser__init(struct hist_browser *browser, struct hists *hists)
Definition: hists.c:2134
struct pstack * pstack
Definition: hists.h:15
Definition: pstack.c:14
bool c2c_filter
Definition: hists.h:25
Definition: hist.h:71
int hist_browser__run(struct hist_browser *browser, const char *help, bool warn_lost_event)
Definition: hists.c:614