aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_tv.hrl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-09-29 14:18:52 +0200
committerDan Gudmundsson <[email protected]>2011-11-08 08:46:08 +0100
commit41dc04f0b76474596076bdc909760228fffc6a73 (patch)
tree5ed12073bd191e09d41a157120ca20f545a76512 /lib/observer/src/observer_tv.hrl
parent5e1fafb077740c9d919bc532b2c392f4f20bbf1b (diff)
downloadotp-41dc04f0b76474596076bdc909760228fffc6a73.tar.gz
otp-41dc04f0b76474596076bdc909760228fffc6a73.tar.bz2
otp-41dc04f0b76474596076bdc909760228fffc6a73.zip
[observer] Add a [d]ets viewer, tv replacement
Diffstat (limited to 'lib/observer/src/observer_tv.hrl')
-rw-r--r--lib/observer/src/observer_tv.hrl34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/observer/src/observer_tv.hrl b/lib/observer/src/observer_tv.hrl
new file mode 100644
index 0000000000..05e4f928d0
--- /dev/null
+++ b/lib/observer/src/observer_tv.hrl
@@ -0,0 +1,34 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2011. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+
+-record(tab, {name,
+ id = ignore,
+ size,
+ memory=0, %% In bytes
+ owner,
+ reg_name,
+ protection = public,
+ type=set,
+ keypos=1,
+ heir=none,
+ compressed=false,
+ fixed=false,
+ %% Mnesia Info
+ storage,
+ index
+ }).