forked from ibm-openbmc/phosphor-debug-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
304 lines (244 loc) · 9.86 KB
/
meson_options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
# SPDX-License-Identifier: Apache-2.0
option('tests', type: 'feature', description: 'Build tests')
option('jffs-workaround', type: 'feature',
description : 'Turn on jffs workaround for core file'
)
option('DUMP_BUSNAME', type : 'string',
value : 'xyz.openbmc_project.Dump.Manager',
description : 'The D-Bus busname to own'
)
option('DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump',
description : 'The dump manager D-Bus root'
)
option('BMC_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/bmc',
description : 'The BMC dump manager D-Bus object path'
)
option('HOSTBOOT_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/hostboot',
description : 'The hostboot dump manager Dbus object path'
)
option('CORE_FILE_DIR', type : 'string',
value : '/var/lib/systemd/coredump',
description : 'Directory where core dumps are placed'
)
option('HOSTBOOT_DUMP_TMP_FILE_DIR', type : 'string',
value : '/tmp/openpower-dumps/hostboot',
description : 'Directory where hostboot dump pieces are stored for packaging'
)
option('OBJ_INTERNAL', type : 'string',
value : '/xyz/openbmc_project/dump/internal/manager',
description : 'Internal dump manager D-Bus object path'
)
option('BMC_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/bmc/entry',
description : 'The BMC dump entry D-Bus object path'
)
option('HOSTBOOT_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/hostboot/entry',
description : 'The Hostboot dump entry DBus object path'
)
option('BMC_DUMP_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/dumps/',
description : 'Directory where bmc dumps are placed'
)
option('SYSTEMD_PSTORE_PATH', type : 'string',
value : '/var/lib/systemd/pstore/',
description : 'Path to the systemd pstore directory'
)
option('HOSTBOOT_DUMP_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/hostbootdump/',
description : 'Directory where Hostboot dumps are placed'
)
option('BMC_DUMP_MAX_SIZE', type : 'integer',
value : 200,
description : 'Maximum size of one bmc dump in kilo bytes'
)
option('BMC_DUMP_MIN_SPACE_REQD', type : 'integer',
value : 20,
description : 'Minimum space required for one bmc dump in kilo bytes'
)
option('BMC_DUMP_TOTAL_SIZE', type : 'integer',
value : 1024,
description : 'Total size of the dump in kilo bytes'
)
option('HOSTBOOT_DUMP_MAX_SIZE', type : 'integer',
value : 102400,
description : 'Maximum size of one Hostboot dump in kilo bytes'
)
option('HOSTBOOT_DUMP_MIN_SPACE_REQD', type : 'integer',
value : 81920,
description : 'Minimum space required for one Hostboot dump in kilo bytes'
)
option('HOSTBOOT_DUMP_TOTAL_SIZE', type : 'integer',
value : 409600,
description : 'Total size of the dump in kilo bytes'
)
option('ELOG_ID_PERSIST_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/elogid',
description : 'Path of file for storing elog id\'s, which have associated dumps'
)
option('CLASS_VERSION', type : 'integer',
value : 1,
description : 'Class version to register with Cereal'
)
option('ERROR_MAP_YAML', type : 'string',
value : 'example_errors_watch.yaml',
description : 'YAML filepath containing error object paths'
)
option('host-transport', type : 'string',
value : 'default',
description : 'To specify the host dump transport protocol')
option('openpower-dumps-extension', type: 'feature',
value : 'disabled',
description : 'Enable Open Power specific dumps'
)
# Configurations for openpower-dump extension
# System dump options
option('SYSTEM_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/system',
description : 'The system dump manager D-Bus object path'
)
option('SYSTEM_DUMP_SERIAL_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/preserve/system',
description : 'The system dump D-Bus object persist path'
)
option('SYSTEM_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/system/entry',
description : 'The system dump entry D-Bus object path'
)
# Resource dump options
option('RESOURCE_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/resource',
description : 'The resource dump manager D-Bus object path'
)
option('RESOURCE_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/resource/entry',
description : 'The resource dump entry D-Bus object path'
)
option('RESOURCE_DUMP_SERIAL_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/preserve/resource',
description : 'The resource dump D-Bus object persist path'
)
# Hostboot dump options
option('HOSTBOOT_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/hostboot',
description : 'The hostboot dump manager D-Bus object path'
)
option('HOSTBOOT_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/hostboot/entry',
description : 'The Hostboot dump entry D-Bus object path'
)
# This value needs to be set from recipe as a common value with
# packaging application.
option('HOSTBOOT_DUMP_TMP_FILE_DIR', type : 'string',
value : '/tmp/openpower-dumps/hostboot',
description : 'Directory where hostboot dump pieces are stored for packaging'
)
option('HOSTBOOT_DUMP_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/hostbootdump/',
description : 'Directory where Hostboot dumps are placed'
)
option('HOSTBOOT_DUMP_MAX_SIZE', type : 'integer',
value : 102400,
description : 'Maximum size of one Hostboot dump in kilo bytes'
)
option('HOSTBOOT_DUMP_MIN_SPACE_REQD', type : 'integer',
value : 81920,
description : 'Minimum space required for one Hostboot dump in kilo bytes'
)
option('HOSTBOOT_DUMP_TOTAL_SIZE', type : 'integer',
value : 409600,
description : 'Total size of the dump in kilo bytes'
)
option('HOSTBOOT_DUMP_START_ID', type : 'integer',
value : 20000000,
description : 'Starting id of Hostboot Dump'
)
# Hardware dump options
option('HARDWARE_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/hardware',
description : 'The hardware dump manager D-Bus object path'
)
option('HARDWARE_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/hardware/entry',
description : 'The hardware dump entry D-Bus object path'
)
option('HARDWARE_DUMP_TMP_FILE_DIR', type : 'string',
value : '/tmp/openpower-dumps/hardware',
description : 'Directory where hardware dump pieces are stored for packaging'
)
option('HARDWARE_DUMP_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/hardwaredump/',
description : 'Directory where hardware dumps are placed'
)
option('HARDWARE_DUMP_MAX_SIZE', type : 'integer',
value : 102400,
description : 'Maximum size of one hardware dump in kilo bytes'
)
option('HARDWARE_DUMP_MIN_SPACE_REQD', type : 'integer',
value : 81920,
description : 'Minimum space required for one hardware dump in kilo bytes'
)
option('HARDWARE_DUMP_TOTAL_SIZE', type : 'integer',
value : 409600,
description : 'Total size of the hardware dump in kilo bytes'
)
option('HARDWARE_DUMP_START_ID', type : 'integer',
value : 0,
description : 'Starting id of Hardware Dump'
)
# SBE dump options
option('SBE_DUMP_OBJPATH', type : 'string',
value : '/xyz/openbmc_project/dump/sbe',
description : 'The SBE dump manager D-Bus object path'
)
option('SBE_DUMP_OBJ_ENTRY', type : 'string',
value : '/xyz/openbmc_project/dump/sbe/entry',
description : 'The SBE dump entry D-Bus object path'
)
option('SBE_DUMP_TMP_FILE_DIR', type : 'string',
value : '/tmp/openpower-dumps/sbe',
description : 'Directory where SBE dump pieces are stored for packaging'
)
option('SBE_DUMP_PATH', type : 'string',
value : '/var/lib/phosphor-debug-collector/sbedump/',
description : 'Directory where SBE dumps are placed'
)
option('SBE_DUMP_MAX_SIZE', type : 'integer',
value : 102400,
description : 'Maximum size of one SBE dump in kilo bytes'
)
option('SBE_DUMP_MIN_SPACE_REQD', type : 'integer',
value : 81920,
description : 'Minimum space required for one SBE dump in kilo bytes'
)
option('SBE_DUMP_TOTAL_SIZE', type : 'integer',
value : 409600,
description : 'Total size of the SBE dump in kilo bytes'
)
option('SBE_DUMP_START_ID', type : 'integer',
value : 30000000,
description : 'Starting id of SBE Dump'
)
option('BMC_DUMP_FILENAME_REGEX', type: 'string',
value: 'BMCDUMP.([a-zA-Z0-9]+).([0-9]+).([0-9]+)',
description : 'BMC dump file format'
)
option('SYS_DUMP_FILENAME_REGEX', type: 'string',
value: 'SYSDUMP.([a-zA-Z0-9]+).([0-9]+).([0-9]+)',
description : 'System dump file format'
)
option('FILENAME_DUMP_ID_POS', type : 'integer',
value : 2,
description : 'Position of dump id in dump filename'
)
option('FILENAME_EPOCHTIME_POS', type : 'integer',
value : 3,
description : 'Position of timestamp in dump filename'
)
option('TIMESTAMP_FORMAT', type : 'integer',
value : 1,
description : 'Timestamp format in filename: 0-epoch 1-human readable'
)