aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r--tools/perf/util/sort.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h
index 45ac84c1e037..4e80dbd271e7 100644
--- a/tools/perf/util/sort.h
+++ b/tools/perf/util/sort.h
@@ -29,6 +29,8 @@ extern const char *sort_order;
29extern const char default_parent_pattern[]; 29extern const char default_parent_pattern[];
30extern const char *parent_pattern; 30extern const char *parent_pattern;
31extern const char default_sort_order[]; 31extern const char default_sort_order[];
32extern regex_t ignore_callees_regex;
33extern int have_ignore_callees;
32extern int sort__need_collapse; 34extern int sort__need_collapse;
33extern int sort__has_parent; 35extern int sort__has_parent;
34extern int sort__has_sym; 36extern int sort__has_sym;
@@ -87,6 +89,9 @@ struct hist_entry {
87 89
88 struct hist_entry_diff diff; 90 struct hist_entry_diff diff;
89 91
92 /* We are added by hists__add_dummy_entry. */
93 bool dummy;
94
90 /* XXX These two should move to some tree widget lib */ 95 /* XXX These two should move to some tree widget lib */
91 u16 row_offset; 96 u16 row_offset;
92 u16 nr_rows; 97 u16 nr_rows;
@@ -138,6 +143,8 @@ enum sort_type {
138 SORT_PARENT, 143 SORT_PARENT,
139 SORT_CPU, 144 SORT_CPU,
140 SORT_SRCLINE, 145 SORT_SRCLINE,
146 SORT_LOCAL_WEIGHT,
147 SORT_GLOBAL_WEIGHT,
141 148
142 /* branch stack specific sort keys */ 149 /* branch stack specific sort keys */
143 __SORT_BRANCH_STACK, 150 __SORT_BRANCH_STACK,
@@ -149,9 +156,7 @@ enum sort_type {
149 156
150 /* memory mode specific sort keys */ 157 /* memory mode specific sort keys */
151 __SORT_MEMORY_MODE, 158 __SORT_MEMORY_MODE,
152 SORT_LOCAL_WEIGHT = __SORT_MEMORY_MODE, 159 SORT_MEM_DADDR_SYMBOL = __SORT_MEMORY_MODE,
153 SORT_GLOBAL_WEIGHT,
154 SORT_MEM_DADDR_SYMBOL,
155 SORT_MEM_DADDR_DSO, 160 SORT_MEM_DADDR_DSO,
156 SORT_MEM_LOCKED, 161 SORT_MEM_LOCKED,
157 SORT_MEM_TLB, 162 SORT_MEM_TLB,
@@ -183,4 +188,6 @@ int setup_sorting(void);
183extern int sort_dimension__add(const char *); 188extern int sort_dimension__add(const char *);
184void sort__setup_elide(FILE *fp); 189void sort__setup_elide(FILE *fp);
185 190
191int report_parse_ignore_callees_opt(const struct option *opt, const char *arg, int unset);
192
186#endif /* __PERF_SORT_H */ 193#endif /* __PERF_SORT_H */