~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/observer/src/crashdump_viewer.hrl

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%% 
4
 
%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2003-2011. All Rights Reserved.
5
5
%% 
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
17
17
%% %CopyrightEnd%
18
18
%%
19
19
-define(space, " ").
 
20
-define(unknown, "unknown").
20
21
 
21
22
 
22
23
-record(menu_item,{index,picture,text,depth,children,state,target}).
23
24
 
24
25
-record(general_info,
25
26
        {created,
26
 
         slogan,
27
 
         system_vsn,
28
 
         compile_time,
29
 
         node_name,
30
 
         num_atoms,
31
 
         num_procs,
32
 
         num_ets,
33
 
         num_fun,
34
 
         mem_tot,
35
 
         mem_max,
36
 
         instr_info}).
 
27
         slogan=?space,
 
28
         system_vsn=?space,
 
29
         compile_time=?space,
 
30
         taints=?space,
 
31
         node_name=?space,
 
32
         num_atoms=?space,
 
33
         num_procs=?space,
 
34
         num_ets=?space,
 
35
         num_timers=?space,
 
36
         num_fun=?space,
 
37
         mem_tot=?space,
 
38
         mem_max=?space,
 
39
         instr_info=?space}).
37
40
 
38
41
-record(proc,
 
42
        %% Initial data according to the follwoing:
 
43
        %% 
 
44
        %% msg_q_len, reds and stack_heap are integers because it must 
 
45
        %% be possible to sort on them. All other fields are strings
 
46
        %%
 
47
        %% for old dumps start_time, parent and number of heap frament
 
48
        %% does not exist
 
49
        %%
 
50
        %% current_func can be both "current function" and
 
51
        %% "last scheduled in for"
 
52
        %%
 
53
        %% stack_dump, message queue and dictionaries should only be 
 
54
        %% displayed as a link to "Expand" (if dump is from OTP R9B 
 
55
        %% or newer)
39
56
        {pid,
40
 
         name,
41
 
         init_func,
42
 
         parent,
43
 
         start_time,
44
 
         state,
45
 
         current_func,
46
 
         msg_q_len,
47
 
         msg_q,
48
 
         last_calls,
49
 
         links,
50
 
         prog_count,
51
 
         cp,
52
 
         arity,
53
 
         dict,
54
 
         debug_dict,
55
 
         reds,
56
 
         num_heap_frag,
57
 
         heap_frag_data,
58
 
         stack_heap,
59
 
         old_heap,
60
 
         heap_unused,
61
 
         old_heap_unused,
62
 
         new_heap_start,
63
 
         new_heap_top,
64
 
         stack_top,
65
 
         stack_end,
66
 
         old_heap_start,
67
 
         old_heap_top,
68
 
         old_heap_end,
69
 
         stack_dump}).
 
57
         name=?space,
 
58
         init_func=?space,
 
59
         parent=?unknown,
 
60
         start_time=?unknown,
 
61
         state=?space,
 
62
         current_func={"Current Function",?space},
 
63
         msg_q_len=0,
 
64
         msg_q=?space,
 
65
         last_calls=?space,
 
66
         links=?space,
 
67
         prog_count=?space,
 
68
         cp=?space,
 
69
         arity=?space,
 
70
         dict=?space,
 
71
         debug_dict=?space,
 
72
         reds=0,
 
73
         num_heap_frag=?unknown,
 
74
         heap_frag_data=?space,
 
75
         stack_heap=0,
 
76
         old_heap=?space,
 
77
         heap_unused=?space,
 
78
         old_heap_unused=?space,
 
79
         new_heap_start=?space,
 
80
         new_heap_top=?space,
 
81
         stack_top=?space,
 
82
         stack_end=?space,
 
83
         old_heap_start=?space,
 
84
         old_heap_top=?space,
 
85
         old_heap_end=?space,
 
86
         stack_dump=?space}).
70
87
 
71
88
-record(port,
72
89
        {id,
73
 
         slot,
74
 
         connected,
75
 
         links,
76
 
         controls}).
 
90
         slot=?space,
 
91
         connected=?space,
 
92
         links=?space,
 
93
         name=?space,
 
94
         monitors=?space,
 
95
         controls=?space}).
77
96
 
78
97
-record(ets_table,
79
98
        {pid,
80
 
         slot,
81
 
         id,
82
 
         name,
83
 
         type,
84
 
         buckets,
85
 
         size,
86
 
         memory}).
 
99
         slot=?space,
 
100
         id=?space,
 
101
         name=?space,
 
102
         type="hash",
 
103
         buckets=?space,
 
104
         size=?space,
 
105
         memory=?space}).
87
106
 
88
107
-record(timer,
89
108
        {pid,
90
 
         msg,
91
 
         time}).
 
109
         msg=?space,
 
110
         time=?space}).
92
111
 
93
112
-record(fu,
94
 
        {module,
95
 
         uniq,
96
 
         index,
97
 
         address,
98
 
         native_address,
99
 
         refc}).
 
113
        {module=?space,
 
114
         uniq=?space,
 
115
         index=?space,
 
116
         address=?space,
 
117
         native_address=?space,
 
118
         refc=?space}).
100
119
 
101
120
-record(nod,
102
 
        {name,
 
121
        {name=?space,
103
122
         channel,
104
 
         controller,
105
 
         creation,
106
 
         remote_links,
107
 
         remote_mon,
108
 
         remote_mon_by,
109
 
         error}).
 
123
         controller=?space,
 
124
         creation=?space,
 
125
         remote_links=?space,
 
126
         remote_mon=?space,
 
127
         remote_mon_by=?space,
 
128
         error=?space}).
110
129
 
111
130
-record(loaded_mod,
112
131
        {mod,
113
 
         current_size,
114
 
         current_attrib,
115
 
         current_comp_info,
116
 
         old_size,
117
 
         old_attrib,
118
 
         old_comp_info}).
 
132
         current_size=?space,
 
133
         current_attrib=?space,
 
134
         current_comp_info=?space,
 
135
         old_size=?space,
 
136
         old_attrib=?space,
 
137
         old_comp_info=?space}).
119
138
 
120
139
-record(hash_table,
121
140
        {name,
122
 
         size,
123
 
         used,
124
 
         objs,
125
 
         depth}).
 
141
         size=?space,
 
142
         used=?space,
 
143
         objs=?space,
 
144
         depth=?space}).
126
145
 
127
146
-record(index_table,
128
147
        {name,
129
 
         size,
130
 
         used,
131
 
         limit,
132
 
         rate}).
 
148
         size=?space,
 
149
         used=?space,
 
150
         limit=?space,
 
151
         rate=?space,
 
152
         entries=?space}).