2022-09-09 05:25:57

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH 1/2] perf sort: remove hist_entry__sort_list and sort__first_dimension declaration

hist_entry__sort_list and sort__first_dimension have been removed
since commit cfaa154b2335 ("perf tools: Get rid of obsolete
hist_entry__sort_list"), so remove it.

Signed-off-by: Gaosheng Cui <[email protected]>
---
tools/perf/util/sort.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h
index 2ddc00d1c464..af14eb46c2b6 100644
--- a/tools/perf/util/sort.h
+++ b/tools/perf/util/sort.h
@@ -34,7 +34,6 @@ extern struct sort_entry sort_dso_to;
extern struct sort_entry sort_sym_from;
extern struct sort_entry sort_sym_to;
extern struct sort_entry sort_srcline;
-extern enum sort_type sort__first_dimension;
extern const char default_mem_sort_order[];

struct res_sample {
@@ -295,7 +294,6 @@ struct block_hist {
};

extern struct sort_entry sort_thread;
-extern struct list_head hist_entry__sort_list;

struct evlist;
struct tep_handle;
--
2.25.1