diff options
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r-- | tools/perf/util/sort.h | 13 |
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; | |||
29 | extern const char default_parent_pattern[]; | 29 | extern const char default_parent_pattern[]; |
30 | extern const char *parent_pattern; | 30 | extern const char *parent_pattern; |
31 | extern const char default_sort_order[]; | 31 | extern const char default_sort_order[]; |
32 | extern regex_t ignore_callees_regex; | ||
33 | extern int have_ignore_callees; | ||
32 | extern int sort__need_collapse; | 34 | extern int sort__need_collapse; |
33 | extern int sort__has_parent; | 35 | extern int sort__has_parent; |
34 | extern int sort__has_sym; | 36 | extern 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); | |||
183 | extern int sort_dimension__add(const char *); | 188 | extern int sort_dimension__add(const char *); |
184 | void sort__setup_elide(FILE *fp); | 189 | void sort__setup_elide(FILE *fp); |
185 | 190 | ||
191 | int 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 */ |