Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
| 3 | option('ubifs-workaround', type: 'feature', |
| 4 | description : 'Turn on ubi workaround for core file' |
| 5 | ) |
| 6 | |
| 7 | option('DUMP_BUSNAME', type : 'string', |
| 8 | value : 'xyz.openbmc_project.Dump.Manager', |
| 9 | description : 'The Dbus busname to own' |
| 10 | ) |
| 11 | |
| 12 | option('DUMP_OBJPATH', type : 'string', |
| 13 | value : '/xyz/openbmc_project/dump', |
| 14 | description : 'The Dump manager Dbus root' |
| 15 | ) |
| 16 | |
| 17 | option('CORE_FILE_DIR', type : 'string', |
| 18 | value : '/var/lib/systemd/coredump', |
| 19 | description : 'Directory where core dumps are placed' |
| 20 | ) |
| 21 | |
| 22 | option('OBJ_INTERNAL', type : 'string', |
| 23 | value : '/xyz/openbmc_project/dump/internal/manager', |
| 24 | description : 'Internal Dump manager Dbus object path' |
| 25 | ) |
| 26 | |
| 27 | option('OBJ_ENTRY', type : 'string', |
| 28 | value : '/xyz/openbmc_project/dump/entry', |
| 29 | description : 'The dump entry DBus object path' |
| 30 | ) |
| 31 | |
| 32 | option('BMC_DUMP_PATH', type : 'string', |
| 33 | value : '/var/lib/phosphor-debug-collector/dumps/', |
| 34 | description : 'Directory where bmc dumps are placed' |
| 35 | ) |
| 36 | |
| 37 | option('BMC_DUMP_MAX_SIZE', type : 'integer', |
| 38 | value : 200, |
| 39 | description : 'Maximum size of one bmc dump in kilo bytes' |
| 40 | ) |
| 41 | |
| 42 | option('BMC_DUMP_MIN_SPACE_REQD', type : 'integer', |
| 43 | value : 20, |
| 44 | description : 'Minimum space required for one bmc dump in kilo bytes' |
| 45 | ) |
| 46 | |
| 47 | option('BMC_DUMP_TOTAL_SIZE', type : 'integer', |
| 48 | value : 1024, |
| 49 | description : 'Total size of the dump in kilo bytes' |
| 50 | ) |
| 51 | |
| 52 | option('ELOG_ID_PERSIST_PATH', type : 'string', |
| 53 | value : '/var/lib/phosphor-debug-collector/elogid', |
| 54 | description : 'Path of file for storing elog id\'s, which have associated dumps' |
| 55 | ) |
| 56 | |
| 57 | option('CLASS_VERSION', type : 'integer', |
| 58 | value : 1, |
| 59 | description : 'Class version to register with Cereal' |
| 60 | ) |
| 61 | |
| 62 | option('ERROR_MAP_YAML', type : 'string', |
| 63 | value : 'example_errors_watch.yaml', |
| 64 | description : 'YAML filepath containing error object paths' |
| 65 | ) |
| 66 | |
| 67 | option('host-dump-offload-transport', type : 'string', |
| 68 | value : 'default', |
| 69 | description : 'To specify the host dump transport protocol') |