aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-12-05 12:34:38 +0100
committerHans Nilsson <[email protected]>2016-12-05 12:34:38 +0100
commit8555139c761e35eee556f5f04f8b7a8c9e3d69b4 (patch)
tree3197923e3ef4c944532e0e66c26f4a0d753f5235 /lib/observer
parent79796f35cd7606718bf158f174c39271e4e5224d (diff)
parent5dd6f8571567afe3fd0909118461ea3cfd293852 (diff)
downloadotp-8555139c761e35eee556f5f04f8b7a8c9e3d69b4.tar.gz
otp-8555139c761e35eee556f5f04f8b7a8c9e3d69b4.tar.bz2
otp-8555139c761e35eee556f5f04f8b7a8c9e3d69b4.zip
Merge branch 'maint'
Diffstat (limited to 'lib/observer')
-rw-r--r--lib/observer/src/cdv_ets_cb.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/observer/src/cdv_ets_cb.erl b/lib/observer/src/cdv_ets_cb.erl
index 52a90b093b..ddd2d42df6 100644
--- a/lib/observer/src/cdv_ets_cb.erl
+++ b/lib/observer/src/cdv_ets_cb.erl
@@ -34,10 +34,8 @@
-define(COL_NAME, ?COL_ID+1).
-define(COL_SLOT, ?COL_NAME+1).
-define(COL_OWNER, ?COL_SLOT+1).
--define(COL_BUCK, ?COL_OWNER+1).
--define(COL_OBJ, ?COL_BUCK+1).
+-define(COL_OBJ, ?COL_OWNER+1).
-define(COL_MEM, ?COL_OBJ+1).
--define(COL_TYPE, ?COL_MEM+1).
%% Callbacks for cdv_virtual_list_wx
col_to_elem(id) -> col_to_elem(?COL_ID);
@@ -45,8 +43,6 @@ col_to_elem(?COL_ID) -> #ets_table.id;
col_to_elem(?COL_NAME) -> #ets_table.name;
col_to_elem(?COL_SLOT) -> #ets_table.slot;
col_to_elem(?COL_OWNER) -> #ets_table.pid;
-col_to_elem(?COL_TYPE) -> #ets_table.data_type;
-col_to_elem(?COL_BUCK) -> #ets_table.buckets;
col_to_elem(?COL_OBJ) -> #ets_table.size;
col_to_elem(?COL_MEM) -> #ets_table.memory.
@@ -57,7 +53,6 @@ col_spec() ->
{"Owner", ?wxLIST_FORMAT_CENTRE, 120},
{"Objects", ?wxLIST_FORMAT_RIGHT, 80},
{"Memory", ?wxLIST_FORMAT_RIGHT, 80}
-% {"Type", ?wxLIST_FORMAT_LEFT, 50}
].
get_info(Owner) ->