diff options
Diffstat (limited to 'tools/perf/util/sort.c')
-rw-r--r-- | tools/perf/util/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index cb2b108635ee..5f118a089519 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c | |||
@@ -874,6 +874,8 @@ static struct sort_dimension common_sort_dimensions[] = { | |||
874 | DIM(SORT_PARENT, "parent", sort_parent), | 874 | DIM(SORT_PARENT, "parent", sort_parent), |
875 | DIM(SORT_CPU, "cpu", sort_cpu), | 875 | DIM(SORT_CPU, "cpu", sort_cpu), |
876 | DIM(SORT_SRCLINE, "srcline", sort_srcline), | 876 | DIM(SORT_SRCLINE, "srcline", sort_srcline), |
877 | DIM(SORT_LOCAL_WEIGHT, "local_weight", sort_local_weight), | ||
878 | DIM(SORT_GLOBAL_WEIGHT, "weight", sort_global_weight), | ||
877 | }; | 879 | }; |
878 | 880 | ||
879 | #undef DIM | 881 | #undef DIM |
@@ -893,8 +895,6 @@ static struct sort_dimension bstack_sort_dimensions[] = { | |||
893 | #define DIM(d, n, func) [d - __SORT_MEMORY_MODE] = { .name = n, .entry = &(func) } | 895 | #define DIM(d, n, func) [d - __SORT_MEMORY_MODE] = { .name = n, .entry = &(func) } |
894 | 896 | ||
895 | static struct sort_dimension memory_sort_dimensions[] = { | 897 | static struct sort_dimension memory_sort_dimensions[] = { |
896 | DIM(SORT_LOCAL_WEIGHT, "local_weight", sort_local_weight), | ||
897 | DIM(SORT_GLOBAL_WEIGHT, "weight", sort_global_weight), | ||
898 | DIM(SORT_MEM_DADDR_SYMBOL, "symbol_daddr", sort_mem_daddr_sym), | 898 | DIM(SORT_MEM_DADDR_SYMBOL, "symbol_daddr", sort_mem_daddr_sym), |
899 | DIM(SORT_MEM_DADDR_DSO, "dso_daddr", sort_mem_daddr_dso), | 899 | DIM(SORT_MEM_DADDR_DSO, "dso_daddr", sort_mem_daddr_dso), |
900 | DIM(SORT_MEM_LOCKED, "locked", sort_mem_locked), | 900 | DIM(SORT_MEM_LOCKED, "locked", sort_mem_locked), |