|
@@ -874,6 +874,8 @@ static struct sort_dimension common_sort_dimensions[] = {
|
|
|
DIM(SORT_PARENT, "parent", sort_parent),
|
|
|
DIM(SORT_CPU, "cpu", sort_cpu),
|
|
|
DIM(SORT_SRCLINE, "srcline", sort_srcline),
|
|
|
+ DIM(SORT_LOCAL_WEIGHT, "local_weight", sort_local_weight),
|
|
|
+ DIM(SORT_GLOBAL_WEIGHT, "weight", sort_global_weight),
|
|
|
};
|
|
|
|
|
|
#undef DIM
|
|
@@ -893,8 +895,6 @@ static struct sort_dimension bstack_sort_dimensions[] = {
|
|
|
#define DIM(d, n, func) [d - __SORT_MEMORY_MODE] = { .name = n, .entry = &(func) }
|
|
|
|
|
|
static struct sort_dimension memory_sort_dimensions[] = {
|
|
|
- DIM(SORT_LOCAL_WEIGHT, "local_weight", sort_local_weight),
|
|
|
- DIM(SORT_GLOBAL_WEIGHT, "weight", sort_global_weight),
|
|
|
DIM(SORT_MEM_DADDR_SYMBOL, "symbol_daddr", sort_mem_daddr_sym),
|
|
|
DIM(SORT_MEM_DADDR_DSO, "dso_daddr", sort_mem_daddr_dso),
|
|
|
DIM(SORT_MEM_LOCKED, "locked", sort_mem_locked),
|