aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-10-26 13:00:04 +0200
committerSiri Hansen <[email protected]>2017-10-26 13:00:04 +0200
commit883f8e1d42c73e792de08493e13e0cee9d3384b3 (patch)
tree615a914430496e825d8db4d1973259cc972d1249 /lib
parent20af6471398302330073f9ee8325bc018e5959bf (diff)
downloadotp-883f8e1d42c73e792de08493e13e0cee9d3384b3.tar.gz
otp-883f8e1d42c73e792de08493e13e0cee9d3384b3.tar.bz2
otp-883f8e1d42c73e792de08493e13e0cee9d3384b3.zip
[cdv] Add comment about ets tables
Diffstat (limited to 'lib')
-rw-r--r--lib/observer/src/crashdump_viewer.erl23
1 files changed, 19 insertions, 4 deletions
diff --git a/lib/observer/src/crashdump_viewer.erl b/lib/observer/src/crashdump_viewer.erl
index ddf2879a97..2f87c26a94 100644
--- a/lib/observer/src/crashdump_viewer.erl
+++ b/lib/observer/src/crashdump_viewer.erl
@@ -26,10 +26,25 @@
%% Tables
%% ------
%% cdv_dump_index_table: This table holds all tags read from the
-%% crashdump. Each tag indicates where the information about a
-%% specific item starts. The table entry for a tag includes the start
-%% position for this item-information. In a crash dump file, all tags
-%% start with a "=" at the beginning of a line.
+%% crashdump, except the 'binary' tag. Each tag indicates where the
+%% information about a specific item starts. The table entry for a
+%% tag includes the start position for this item-information. In a
+%% crash dump file, all tags start with a "=" at the beginning of a
+%% line.
+%%
+%% cdv_binary_index_table: This table holds all 'binary' tags. The hex
+%% address for each binary is converted to its integer value before
+%% storing Address -> Start Position in this table. The hex value of
+%% the address is never used for lookup.
+%%
+%% cdv_reg_proc_table: This table holds mappings between pid and
+%% registered name. This is used for timers and monitors.
+%%
+%% cdv_heap_file_chars: For each 'proc_heap' and 'literals' tag, this
+%% table contains the number of characters to read from the crash dump
+%% file. This is used for giving an indication in percent of the
+%% progress when parsing this data.
+%%
%%
%% Process state
%% -------------