diff options
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 46bd50344f85..2b690d028907 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -119,7 +119,7 @@ int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right); | |||
119 | int hist_entry__transaction_len(void); | 119 | int hist_entry__transaction_len(void); |
120 | int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size, | 120 | int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size, |
121 | struct hists *hists); | 121 | struct hists *hists); |
122 | void hist_entry__free(struct hist_entry *); | 122 | void hist_entry__delete(struct hist_entry *he); |
123 | 123 | ||
124 | void hists__output_resort(struct hists *hists, struct ui_progress *prog); | 124 | void hists__output_resort(struct hists *hists, struct ui_progress *prog); |
125 | void hists__collapse_resort(struct hists *hists, struct ui_progress *prog); | 125 | void hists__collapse_resort(struct hists *hists, struct ui_progress *prog); |
@@ -195,9 +195,12 @@ struct perf_hpp_fmt { | |||
195 | struct hist_entry *he); | 195 | struct hist_entry *he); |
196 | int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 196 | int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |
197 | struct hist_entry *he); | 197 | struct hist_entry *he); |
198 | int64_t (*cmp)(struct hist_entry *a, struct hist_entry *b); | 198 | int64_t (*cmp)(struct perf_hpp_fmt *fmt, |
199 | int64_t (*collapse)(struct hist_entry *a, struct hist_entry *b); | 199 | struct hist_entry *a, struct hist_entry *b); |
200 | int64_t (*sort)(struct hist_entry *a, struct hist_entry *b); | 200 | int64_t (*collapse)(struct perf_hpp_fmt *fmt, |
201 | struct hist_entry *a, struct hist_entry *b); | ||
202 | int64_t (*sort)(struct perf_hpp_fmt *fmt, | ||
203 | struct hist_entry *a, struct hist_entry *b); | ||
201 | 204 | ||
202 | struct list_head list; | 205 | struct list_head list; |
203 | struct list_head sort_list; | 206 | struct list_head sort_list; |