History log of /openbmc/phosphor-logging/tools/ (Results 1 – 25 of 62)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
6ddbf69e05-Sep-2023 Willy Tu <wltu@google.com>

Remove SDBUSPP_REMOVE_DEPRECATED_NAMESPACE

Fix the code to support new sdbusplus error without
SDBUSPP_REMOVE_DEPRECATED_NAMESPACE.

Change-Id: I12713ec1757d3835e1acf07c7abf409ff97615e1
Signed-off-b

Remove SDBUSPP_REMOVE_DEPRECATED_NAMESPACE

Fix the code to support new sdbusplus error without
SDBUSPP_REMOVE_DEPRECATED_NAMESPACE.

Change-Id: I12713ec1757d3835e1acf07c7abf409ff97615e1
Signed-off-by: Willy Tu <wltu@google.com>

show more ...


/openbmc/phosphor-logging/.clang-format
/openbmc/phosphor-logging/callouts/callout_test.cpp
/openbmc/phosphor-logging/elog_block.hpp
/openbmc/phosphor-logging/elog_entry.cpp
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_meta.cpp
/openbmc/phosphor-logging/elog_meta.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/failing_mtms.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/generic.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/journal.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/phal_service_actions.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/phal_service_actions.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/lib/elog.cpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/elog.hpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/logging_test.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/test/openpower-pels/host_notifier_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
phosphor-logging/templates/elog-process-metadata.mako.cpp
b508a81c01-Sep-2023 Patrick Williams <patrick@stwcx.xyz>

elog-gen: handle new sdbusplus error names

The sdbusplus repository changed the format of the error names that it
generates, which causes the forward-declarations created by elog-gen
to cause a comp

elog-gen: handle new sdbusplus error names

The sdbusplus repository changed the format of the error names that it
generates, which causes the forward-declarations created by elog-gen
to cause a compiler error due to a name-conflict between a `struct` and
an `using` alias. Trying to handle just the sdbusplus rename was
challenging, so instead I also changed the phosphor-logging structs
and created a similar old-style alias.

As a side-effect of this work, I was able to simplify quite a bit of
the mako template as well.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4177654da83387ace892acc481e095901e9549e4

show more ...


/openbmc/phosphor-logging/.clang-format
/openbmc/phosphor-logging/README.md
/openbmc/phosphor-logging/dist/dbus/xyz.openbmc_project.Logging.service
/openbmc/phosphor-logging/dist/meson.build
/openbmc/phosphor-logging/dist/xyz.openbmc_project.Logging.service
/openbmc/phosphor-logging/docs/structured-logging.md
/openbmc/phosphor-logging/elog_entry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/failing_mtms.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/failing_mtms.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/generic.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/journal.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/journal.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/meson.build
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_rules.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pldm_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/O_component_ids.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/run-ci.sh
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/validate_registry.py
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.hpp
/openbmc/phosphor-logging/gen/meson.build
/openbmc/phosphor-logging/gen/xyz/openbmc_project/Logging/Internal/Manager/meson.build
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/conversion.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/logger.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/source_location.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/meson.build
/openbmc/phosphor-logging/lib/lg2_logger.cpp
/openbmc/phosphor-logging/lib/meson.build
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/meson.build
/openbmc/phosphor-logging/meson.options
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.hpp
/openbmc/phosphor-logging/subprojects/libpldm.wrap
/openbmc/phosphor-logging/subprojects/nlohmann-json.wrap
/openbmc/phosphor-logging/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-logging/test/openpower-pels/bcd_time_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/data_interface_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/host_notifier_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/json_utils_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/log_id_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/service_indicators_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/temporary_file_test.cpp
/openbmc/phosphor-logging/test/remote_logging_test_config.cpp
phosphor-logging/templates/elog-gen-template.mako.hpp
/openbmc/phosphor-logging/util.cpp
/openbmc/phosphor-logging/util.hpp
26919f0708-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I6e8d56540a30898369d7f232d900fd74de2e7bd1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

d27675d708-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: I8b1542d2681ef39

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: I8b1542d2681ef3985455920fa939a6ea2482be22
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

a7bc9ab318-Oct-2022 Matt Spinler <spinler@us.ibm.com>

Don't install elog-gen.py and mako templates

These were actually getting installed into the BMC flash image, which
isn't desirable. Bitbake runs these straight from the source tree so
removing this

Don't install elog-gen.py and mako templates

These were actually getting installed into the BMC flash image, which
isn't desirable. Bitbake runs these straight from the source tree so
removing this doesn't affect builds.

This does mean they wouldn't be installed into usr/share in the SDK, but
it's not like that was in $PATH anyway.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I65fff38bcdf82e8b812177d65a6918fc9abbd5fd

show more ...


/openbmc/phosphor-logging/.clang-format
/openbmc/phosphor-logging/callouts/callout_test.cpp
/openbmc/phosphor-logging/elog_meta.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/additional_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/callout.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/callout.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_watcher.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/device_callouts.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/device_callouts.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/event_logger.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/log_id.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pldm_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pldm_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/stream.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/temporary_file.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/temporary_file.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/gen/meson.build
/openbmc/phosphor-logging/gen/regenerate-meson
/openbmc/phosphor-logging/gen/xyz/openbmc_project/Logging/Internal/Manager/meson.build
/openbmc/phosphor-logging/gen/xyz/openbmc_project/Logging/Internal/meson.build
/openbmc/phosphor-logging/lib/elog.cpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/elog.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/concepts.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/conversion.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/flags.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/header.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/logger.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/log.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/test/sdjournal_mock.hpp
/openbmc/phosphor-logging/lib/lg2_logger.cpp
/openbmc/phosphor-logging/lib/sdjournal.cpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/log_manager_main.cpp
/openbmc/phosphor-logging/logging_test.cpp
/openbmc/phosphor-logging/meson.build
/openbmc/phosphor-logging/phosphor-rsyslog-config/main.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.hpp
/openbmc/phosphor-logging/test/elog_errorwrap_test.hpp
/openbmc/phosphor-logging/test/elog_quiesce_test.cpp
/openbmc/phosphor-logging/test/extensions_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/device_callouts_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/fru_identity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/host_notifier_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/meson.build
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/mtms_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/private_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/real_pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/repository_test.cpp
/openbmc/phosphor-logging/test/remote_logging_tests.hpp
/openbmc/phosphor-logging/test/serialization_tests.hpp
meson.build
phosphor-logging/templates/meson.build
/openbmc/phosphor-logging/yaml/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml
e6555f5b04-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

format: reformat with black

CI seems to be failing due to a new version of pycodestyle
with errors such as:

```
./tools/elog-gen.py:26:11: E275 missing whitespace after keyword
if(i_parents

format: reformat with black

CI seems to be failing due to a new version of pycodestyle
with errors such as:

```
./tools/elog-gen.py:26:11: E275 missing whitespace after keyword
if(i_parents[error] is not None):
```

Attempt to reformat the whole codebase with `black`.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2fb63670cf4828d4dee19a9c7f247e9ffecdb398

show more ...


/openbmc/phosphor-logging/OWNERS
/openbmc/phosphor-logging/README.md
/openbmc/phosphor-logging/callouts/callouts.py
/openbmc/phosphor-logging/docs/structured-logging.md
/openbmc/phosphor-logging/elog_block.hpp
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/elog_serialize.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/ascii_string.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/ascii_string.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_watcher.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/log_id.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/log_id.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/meson.build
/openbmc/phosphor-logging/extensions/openpower-pels/mtms.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_registry/__init__.py
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/B_component_ids.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/O_component_ids.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/process_registry.py
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/setup.py
/openbmc/phosphor-logging/extensions/openpower-pels/severity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/severity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/elog.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/log.hpp
/openbmc/phosphor-logging/lib/lg2_logger.cpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/log_manager_main.cpp
/openbmc/phosphor-logging/meson.build
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.hpp
/openbmc/phosphor-logging/subprojects/CLI11.wrap
/openbmc/phosphor-logging/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-logging/subprojects/pldm.wrap
/openbmc/phosphor-logging/subprojects/sdbusplus.wrap
/openbmc/phosphor-logging/subprojects/sdeventplus.wrap
/openbmc/phosphor-logging/test/elog_errorwrap_test.hpp
/openbmc/phosphor-logging/test/elog_quiesce_test.cpp
/openbmc/phosphor-logging/test/elog_update_ts_test.cpp
/openbmc/phosphor-logging/test/extensions_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/ascii_string_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/data_interface_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/host_notifier_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/log_id_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/repository_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/severity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_header_test.cpp
/openbmc/phosphor-logging/test/remote_logging_test_config.cpp
/openbmc/phosphor-logging/test/remote_logging_tests.hpp
/openbmc/phosphor-logging/test/serialization_test_properties.cpp
/openbmc/phosphor-logging/test/serialization_tests.hpp
elog-gen.py
50654a8316-Nov-2021 Matt Spinler <spinler@us.ibm.com>

elog-gen.py: Remove missing metadata print

It's fairly common now for errors defined in the errors.yaml files to
not have a corresponding entry in their metadata.yaml file, so this
commit removes th

elog-gen.py: Remove missing metadata print

It's fairly common now for errors defined in the errors.yaml files to
not have a corresponding entry in their metadata.yaml file, so this
commit removes the print statement complaining about that case because
it can mislead people into thinking there is a real problem.

The intent of the original design was to at least define the error level
(i.e. severity) in the metadata file, though since the script already
defaults that to 'ERR' it isn't really necessary.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Iec7ece2382becc101fff6a03f38a3607fa2e43af

show more ...


/openbmc/phosphor-logging/OWNERS
/openbmc/phosphor-logging/callouts/callout_test.cpp
/openbmc/phosphor-logging/docs/structured-logging.md
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/event_logger.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/failing_mtms.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/meson.build
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/phal_service_actions.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/phal_service_actions.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ComponentIDs.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/concepts.hpp
/openbmc/phosphor-logging/lib/lg2_logger.cpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager_main.cpp
/openbmc/phosphor-logging/logging_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_values_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
elog-gen.py
a9ee22bb09-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

elog-gen: sort exceptions for file stability

In the elog-gen template there is an iteration over a Python `set`.
Sets are not guaranteed to have any particular order from execution to
execution, whi

elog-gen: sort exceptions for file stability

In the elog-gen template there is an iteration over a Python `set`.
Sets are not guaranteed to have any particular order from execution to
execution, which means that a template generated from the exact same
data can have different values. Add a 'sorted' into the set iteration
so that the file output is stable.

Stability is useful for two reasons:
1. Some repositories check in a version of the file for UT
purposes, which causes drastic changes in the version in that
repo.
2. Tools like ccache can only speed up builds if the header files
are unchanged.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie3dc5489be5314fc7ecda49dc4bf795cfc81f064

show more ...

efcf766309-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

elog-gen: minor changes to reduce clang-format diffs

Perform minor changes to the elog-gen template so that the resulting
file more closely conforms to our project-wide clang-format settings.
Curren

elog-gen: minor changes to reduce clang-format diffs

Perform minor changes to the elog-gen template so that the resulting
file more closely conforms to our project-wide clang-format settings.
Currently phosphor-host-ipmid checks in a copy of the output header
and this reduces the differences between the version from the build
and the version checked in (which must pass clang-format).

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ica61261a25696caf7db53f2603a2cd1407281432

show more ...

66580a9003-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

exception: define get_errno for example types

The sdbusplus base exception class now defines a get_errno and
it will become a pure-virtual soon. Prep for that by defining
function for any of the ex

exception: define get_errno for example types

The sdbusplus base exception class now defines a get_errno and
it will become a pure-virtual soon. Prep for that by defining
function for any of the example exception types (sdbus++ generated
types are already provided).

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3b2a0e9d356022e1e71ff523eee02ab102d383a2

show more ...


/openbmc/phosphor-logging/README.md
/openbmc/phosphor-logging/docs/structured-logging.md
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/meson.build
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_entry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/registry_example.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/concepts.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/conversion.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/flags.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/header.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/level.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/logger.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/source_location.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/meson.build
/openbmc/phosphor-logging/lib/lg2_logger.cpp
/openbmc/phosphor-logging/lib/meson.build
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/log_manager_main.cpp
/openbmc/phosphor-logging/meson.build
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/test/openpower-pels/fru_identity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/service_indicators_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_callout_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
phosphor-logging/templates/elog-gen-template.mako.hpp
e053884811-Jun-2021 William A. Kennington III <wak@google.com>

build: Refactor to separate out library

This makes it more clear what code is intended for use by the
phosphor-logging shared library. This is especially nice since it
isolates the `phosphor_logging

build: Refactor to separate out library

This makes it more clear what code is intended for use by the
phosphor-logging shared library. This is especially nice since it
isolates the `phosphor_logging_dep` to only provide the exported headers
instead of everything in the project.

Additionally, this adds an option to build only the library components
of the project when the services aren't needed.

Change-Id: Ied0858fc70e8054df4c056d91f35a6f0b3acfcb1
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


/openbmc/phosphor-logging/.gitignore
/openbmc/phosphor-logging/config/config.h.meson
/openbmc/phosphor-logging/config/meson.build
/openbmc/phosphor-logging/config_main.h
/openbmc/phosphor-logging/dist/busconfig/phosphor-logging.conf
/openbmc/phosphor-logging/dist/busconfig/phosphor-rsyslog-config.conf
/openbmc/phosphor-logging/dist/meson.build
/openbmc/phosphor-logging/dist/xyz.openbmc_project.Logging.service
/openbmc/phosphor-logging/dist/xyz.openbmc_project.Syslog.Config.service
/openbmc/phosphor-logging/elog_entry.cpp
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_meta.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/extensions.cpp
/openbmc/phosphor-logging/extensions.hpp
/openbmc/phosphor-logging/extensions/meson.build
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/event_logger.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fapi_data_process.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/meson.build
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pldm_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ComponentIDs.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/sbe_ffdc_handler.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/temporary_file.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/temporary_file.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.hpp
/openbmc/phosphor-logging/gen/README
/openbmc/phosphor-logging/gen/meson.build
/openbmc/phosphor-logging/gen/regenerate-meson
/openbmc/phosphor-logging/gen/run-ci
/openbmc/phosphor-logging/gen/xyz/meson.build
/openbmc/phosphor-logging/gen/xyz/openbmc_project/Logging/Internal/Manager/meson.build
/openbmc/phosphor-logging/gen/xyz/openbmc_project/Logging/Internal/meson.build
/openbmc/phosphor-logging/gen/xyz/openbmc_project/Logging/meson.build
/openbmc/phosphor-logging/gen/xyz/openbmc_project/meson.build
/openbmc/phosphor-logging/lib/elog.cpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/elog.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/log.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/meson.build
/openbmc/phosphor-logging/lib/include/phosphor-logging/sdjournal.hpp
/openbmc/phosphor-logging/lib/include/phosphor-logging/test/sdjournal_mock.hpp
/openbmc/phosphor-logging/lib/meson.build
/openbmc/phosphor-logging/lib/sdjournal.cpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager_main.cpp
/openbmc/phosphor-logging/logging_test.cpp
/openbmc/phosphor-logging/meson.build
/openbmc/phosphor-logging/meson_options.txt
/openbmc/phosphor-logging/phosphor-rsyslog-config/main.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/meson.build
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/subprojects/CLI11.wrap
/openbmc/phosphor-logging/subprojects/cereal.wrap
/openbmc/phosphor-logging/subprojects/googletest.wrap
/openbmc/phosphor-logging/subprojects/nlohmann-json.wrap
/openbmc/phosphor-logging/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-logging/subprojects/pldm.wrap
/openbmc/phosphor-logging/subprojects/sdbusplus.wrap
/openbmc/phosphor-logging/subprojects/sdeventplus.wrap
/openbmc/phosphor-logging/test/common.cpp
/openbmc/phosphor-logging/test/extensions_test.cpp
/openbmc/phosphor-logging/test/meson.build
/openbmc/phosphor-logging/test/openpower-pels/data_interface_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/host_notifier_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/json_utils_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/meson.build
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.cpp
/openbmc/phosphor-logging/test/openpower-pels/repository_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/stream_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/temporary_file_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_header_test.cpp
/openbmc/phosphor-logging/test/remote_logging_test_address.cpp
/openbmc/phosphor-logging/test/remote_logging_test_config.cpp
/openbmc/phosphor-logging/test/serialization_test_properties.cpp
meson.build
phosphor-logging/templates/meson.build
7dc8c3be17-Apr-2021 Patrick Williams <patrick@stwcx.xyz>

elog-gen: handle missing YAML without crashing

The code to build the mako template path was buried inside a
for-loop, which ran against every found YAML file (redundantly).
If, for some reason, the

elog-gen: handle missing YAML without crashing

The code to build the mako template path was buried inside a
for-loop, which ran against every found YAML file (redundantly).
If, for some reason, the script is configured where the error
YAML is missing, the for-loop never runs and we end up with a
Python crash:

File "../tools/elog-gen.py", line 167, in gen_elog_hpp
template = Template(filename=template_path)
UnboundLocalError: local variable 'template_path' referenced
before assignment

Pull the template path code out of the for loop to better handle
this case.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic3dd4e8d9c7a9a9ed4fa382b879ecdc4b1b04838

show more ...

bb6af86016-Apr-2021 Patrick Williams <patrick@stwcx.xyz>

python: enable code formatting

Enable code formatting in CI by creating a dummy Python 'setup.cfg'
and fix up the minor errors reported.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-I

python: enable code formatting

Enable code formatting in CI by creating a dummy Python 'setup.cfg'
and fix up the minor errors reported.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9ddaa263f7407c42fb4f58d478bd2efb1d2fe026

show more ...

c5e3e5e516-Apr-2021 Patrick Williams <patrick@stwcx.xyz>

elog-gen: handle empty template directories

In some cases, such as when building with meson, it is not useful
to separate the template directory for the template file when
invoking elog-gen. Modify

elog-gen: handle empty template directories

In some cases, such as when building with meson, it is not useful
to separate the template directory for the template file when
invoking elog-gen. Modify the template path handling code slightly
so that an empty template directory can be used with the template
file having the full path.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I26cae0f4af2fd03dfd194d593f40e9dedea9d012

show more ...


/openbmc/phosphor-logging/.shellcheck
/openbmc/phosphor-logging/bootstrap.sh
/openbmc/phosphor-logging/callouts/callouts.py
/openbmc/phosphor-logging/configure.ac
/openbmc/phosphor-logging/elog.cpp
/openbmc/phosphor-logging/elog_entry.cpp
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_meta.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/run-ci.sh
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/phosphor-logging/elog.hpp
/openbmc/phosphor-logging/phosphor-logging/sdjournal.hpp
/openbmc/phosphor-logging/test/Makefile.am
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/service_indicators_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
elog-gen.py
/openbmc/phosphor-logging/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml
cea3f89b03-Dec-2020 Lei YU <yulei.sh@bytedance.com>

elog-gen: Support more types

Support boolean, int8, uint8 types.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I4e16b80788994e07050ce1e2bdb3ea8eeb7666a3


/openbmc/phosphor-logging/.clang-format
/openbmc/phosphor-logging/.gitignore
/openbmc/phosphor-logging/.lcovrc
/openbmc/phosphor-logging/MAINTAINERS
/openbmc/phosphor-logging/Makefile.am
/openbmc/phosphor-logging/Makefile.am.include
/openbmc/phosphor-logging/README.md
/openbmc/phosphor-logging/callouts/callouts.py
/openbmc/phosphor-logging/configure.ac
/openbmc/phosphor-logging/elog.cpp
/openbmc/phosphor-logging/elog_block.hpp
/openbmc/phosphor-logging/elog_entry.cpp
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/extensions.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/callout.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/callout.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/device_callouts.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/device_callouts.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/event_logger.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/mru.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/mru.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/openpower-pels.mk
/openbmc/phosphor-logging/extensions/openpower-pels/paths.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/paths.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ComponentIDs.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/run-ci.sh
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/registry_example.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/process_registry.py
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section_factory.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/service_indicators.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/stream.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_formats.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.hpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/Makefile.am
/openbmc/phosphor-logging/test/Makefile.am
/openbmc/phosphor-logging/test/elog_errorwrap_test.hpp
/openbmc/phosphor-logging/test/elog_quiesce_test.cpp
/openbmc/phosphor-logging/test/elog_update_ts_test.cpp
/openbmc/phosphor-logging/test/extensions_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/Makefile.include
/openbmc/phosphor-logging/test/openpower-pels/device_callouts_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/event_logger_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/extended_user_data_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/fru_identity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/log_id_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/mru_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/paths.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_values_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/private_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/repository_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/service_indicators_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_callout_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_callouts_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_data_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_header_test.cpp
/openbmc/phosphor-logging/test/remote_logging_test_address.cpp
/openbmc/phosphor-logging/test/serialization_test_properties.cpp
/openbmc/phosphor-logging/test/serialization_tests.hpp
elog-gen.py
/openbmc/phosphor-logging/util.cpp
/openbmc/phosphor-logging/util.hpp
d9c2fea705-Mar-2020 Matt Spinler <spinler@us.ibm.com>

Update elog-gen.py for python3

2to3 suggested this change as a better, though not strictly necessary,
way to do things.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I2147d5a6e334f25d

Update elog-gen.py for python3

2to3 suggested this change as a better, though not strictly necessary,
way to do things.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I2147d5a6e334f25d5a57250584eb0c77e88526a3

show more ...


/openbmc/phosphor-logging/.gitignore
/openbmc/phosphor-logging/Makefile.am
/openbmc/phosphor-logging/README.md
/openbmc/phosphor-logging/configure.ac
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/additional_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/ascii_string.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/ascii_string.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/callout.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/callout.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/callouts.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/data_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/dbus_watcher.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/event_logger.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/extended_user_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/failing_mtms.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/failing_mtms.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/fru_identity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/generic.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/generic.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/host_notifier.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/json_utils.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/log_id.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/mru.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/mru.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/mtms.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/mtms.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/openpower-pels.mk
/openbmc/phosphor-logging/extensions/openpower-pels/paths.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/paths.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pce_identity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pce_identity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_rules.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_rules.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_types.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel_values.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pldm_interface.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pldm_interface.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ComponentIDs.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/registry/message_registry.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/run-ci.sh
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/registry_example.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/schema.json
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/process_registry.py
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section_factory.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/section_factory.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/severity.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/severity.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/src.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/stream.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/tools/peltool.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_formats.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_data_json.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.hpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/test/Makefile.am
/openbmc/phosphor-logging/test/openpower-pels/Makefile.include
/openbmc/phosphor-logging/test/openpower-pels/additional_data_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/ascii_string_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/bcd_time_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/event_logger_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/extended_user_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/failing_mtms_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/fru_identity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/generic_section_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/host_notifier_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/json_utils_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/log_id_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mocks.hpp
/openbmc/phosphor-logging/test/openpower-pels/mru_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/mtms_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/paths.cpp
/openbmc/phosphor-logging/test/openpower-pels/pce_identity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_rules_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.hpp
/openbmc/phosphor-logging/test/openpower-pels/pel_values_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/private_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/real_pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/registry_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/repository_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/section_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/severity_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_callout_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_callouts_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/src_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/stream_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_data_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_header_test.cpp
elog-gen.py
52a4980c13-Aug-2019 Matthew Barth <msbarth@us.ibm.com>

Empty set for no elog lookup meta data

Create an empty set when there is no elog lookup meta data instead of
defaulting to add a single empty string entry.

Tested:
Built image and verified empt

Empty set for no elog lookup meta data

Create an empty set when there is no elog lookup meta data instead of
defaulting to add a single empty string entry.

Tested:
Built image and verified empty string no longer in errors where no
meta data is defined.

Change-Id: I7bf1ff2ab18f174d4cfa78cf22eeac4918033148
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...

19fe323b12-Aug-2019 Matthew Barth <msbarth@us.ibm.com>

Remove empty entries in elog lookup meta data

A journal entry is produced for failure to find empty string meta data
for elogs due to an empty string entry within the generated elog lookup
source. T

Remove empty entries in elog lookup meta data

A journal entry is produced for failure to find empty string meta data
for elogs due to an empty string entry within the generated elog lookup
source. This empty string is due to error yamls that do not contain any
meta data entry of their own and only inherit from another error yaml.

An example of the journal entry for the empty string meta data that is
removed with this fix::

CODE_LINE=76
CODE_FUNC=helper_log
_SYSTEMD_SLICE=system.slice
CODE_FILE=../git/phosphor-logging/log.hpp
MESSAGE=Failed to find metadata
TRANSACTION_ID=4016514682
META_FIELD=
SYSLOG_IDENTIFIER=phosphor-log-manager
_PID=181
_COMM=phosphor-log-ma
_EXE=/usr/bin/phosphor-log-manager

Tested:
Built image and verified empty string entry no longer generated on
errors without meta data but inherit meta data from other error yaml

Change-Id: I3c8745acd86173873827cd59eb6e8d4f687b0e1b
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


/openbmc/phosphor-logging/.clang-format
/openbmc/phosphor-logging/.gitignore
/openbmc/phosphor-logging/MAINTAINERS
/openbmc/phosphor-logging/Makefile.am
/openbmc/phosphor-logging/README.md
/openbmc/phosphor-logging/callouts/callout_test.cpp
/openbmc/phosphor-logging/configure.ac
/openbmc/phosphor-logging/elog.cpp
/openbmc/phosphor-logging/elog_entry.cpp
/openbmc/phosphor-logging/elog_entry.hpp
/openbmc/phosphor-logging/elog_meta.cpp
/openbmc/phosphor-logging/elog_meta.hpp
/openbmc/phosphor-logging/elog_serialize.cpp
/openbmc/phosphor-logging/elog_serialize.hpp
/openbmc/phosphor-logging/extensions.cpp
/openbmc/phosphor-logging/extensions.hpp
/openbmc/phosphor-logging/extensions/extensions.mk
/openbmc/phosphor-logging/extensions/openpower-pels/README.md
/openbmc/phosphor-logging/extensions/openpower-pels/additional_data.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/bcd_time.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/log_id.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/log_id.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/manager.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/openpower-pels.mk
/openbmc/phosphor-logging/extensions/openpower-pels/paths.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/paths.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/pel.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/private_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/repository.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/section_header.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/stream.hpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.cpp
/openbmc/phosphor-logging/extensions/openpower-pels/user_header.hpp
/openbmc/phosphor-logging/log_manager.cpp
/openbmc/phosphor-logging/log_manager.hpp
/openbmc/phosphor-logging/log_manager_main.cpp
/openbmc/phosphor-logging/logging_test.cpp
/openbmc/phosphor-logging/org.openbmc.Associations.cpp
/openbmc/phosphor-logging/org/openbmc/Associations/server.hpp
/openbmc/phosphor-logging/phosphor-logging/elog.hpp
/openbmc/phosphor-logging/phosphor-logging/log.hpp
/openbmc/phosphor-logging/phosphor-logging/sdjournal.hpp
/openbmc/phosphor-logging/phosphor-logging/test/sdjournal_mock.hpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/Makefile.am
/openbmc/phosphor-logging/phosphor-rsyslog-config/main.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.cpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/server-conf.hpp
/openbmc/phosphor-logging/phosphor-rsyslog-config/utils.hpp
/openbmc/phosphor-logging/sdjournal.cpp
/openbmc/phosphor-logging/test/Makefile.am
/openbmc/phosphor-logging/test/elog_errorwrap_test.cpp
/openbmc/phosphor-logging/test/elog_errorwrap_test.hpp
/openbmc/phosphor-logging/test/extensions_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/Makefile.include
/openbmc/phosphor-logging/test/openpower-pels/additional_data_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/bcd_time_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/log_id_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/paths.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_manager_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.cpp
/openbmc/phosphor-logging/test/openpower-pels/pel_utils.hpp
/openbmc/phosphor-logging/test/openpower-pels/private_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/repository_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/section_header_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/stream_test.cpp
/openbmc/phosphor-logging/test/openpower-pels/user_header_test.cpp
/openbmc/phosphor-logging/test/remote_logging_test_address.cpp
/openbmc/phosphor-logging/test/remote_logging_test_config.cpp
/openbmc/phosphor-logging/test/remote_logging_test_port.cpp
/openbmc/phosphor-logging/test/remote_logging_tests.hpp
/openbmc/phosphor-logging/test/sdtest.cpp
/openbmc/phosphor-logging/test/serialization_test_path.cpp
/openbmc/phosphor-logging/test/serialization_test_properties.cpp
/openbmc/phosphor-logging/test/serialization_tests.hpp
phosphor-logging/templates/elog-lookup-template.mako.cpp
b17e876804-Oct-2018 William A. Kennington III <wak@google.com>

tools/elog-gen: Clean up missing error metadata message

Change-Id: I880cf6793e64db29a6eee74839f5a5bdabb1dff2
Signed-off-by: William A. Kennington III <wak@google.com>

80aa476218-Jul-2018 Lei YU <mine260309@gmail.com>

elog-gen: allow inherits from errors without meta

Previously, elog-gen only support inherits from errors that have meta,
and if we inherit from an error without meta, e.g.
Common.InternalFailure, we

elog-gen: allow inherits from errors without meta

Previously, elog-gen only support inherits from errors that have meta,
and if we inherit from an error without meta, e.g.
Common.InternalFailure, we get build error like:

KeyError: 'xyz.openbmc_project.Common.InternalFailure'

This commit makes elog-gen to allow such case, so it is possible to
allow a base error without meta, and inheriting error with additional
error, e.g.

# In Common:
- name: NotAllowed ## No meta

# In Time:
- name: NotAllowed
inherits:
- xyz.openbmc_project.Common.NotAllowed
meta:
- str: "OWNER=%s"
type: string
- str: "SYNC_METHOD=%s"
type: string

Note: the "inherit" here does not mean the the error inherits from
base errors in c++ class, it just makes error "logically" inherits base
errors. And in future commits we could make it "really" inherits base
errors in c++ level.

Tested: Verify phosphor-logging builds correctly with above example
error interfaces, and service is able to use such errors with
elog.

Change-Id: I8dccd7112881e3eb77a8f6ec62a532062348d2ef
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...

14a8c8de06-Mar-2018 Andrew Jeffery <andrew@aj.id.au>

templates: Allow use of -fsanitize=undefined

Push down the str member to avoid linker errors about the lack of
storage for str when using -fsanitize=undefined.

Change-Id: I1a6b1ba9632aa6e4294573a6b

templates: Allow use of -fsanitize=undefined

Push down the str member to avoid linker errors about the lack of
storage for str when using -fsanitize=undefined.

Change-Id: I1a6b1ba9632aa6e4294573a6be3252d5230992b9
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...

deae3cac25-Oct-2017 Gunnar Mills <gmills@us.ibm.com>

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: Idea8f

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: Idea8f76487125a7c7334b415a369c73d9fac40c4
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

979632ae18-Jun-2017 Marri Devender Rao <devenrao@in.ibm.com>

fix checkstop error logged as INFO

Fix lookup mako template to use sdbus++ error name in error level
and error meta map.

Resolves openbmc/openbmc#1800

Change-Id: Id3bd7d8113ad0305f25a8fc321f6b79ab

fix checkstop error logged as INFO

Fix lookup mako template to use sdbus++ error name in error level
and error meta map.

Resolves openbmc/openbmc#1800

Change-Id: Id3bd7d8113ad0305f25a8fc321f6b79ab5033bb0
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...

4952aa6b03-Jun-2017 Patrick Williams <patrick@stwcx.xyz>

elog-gen: python3 fixes for print

In python3 print requires () wrapping around parameters.

Change-Id: I830ef0d0e8c9e42c1157b708153bf96599346977
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

99b3391814-May-2017 Marri Devender Rao <devenrao@in.ibm.com>

Remove inheriting from sdbus exception for error metadata

For logging/reporting exceptions, applications need to use exceptions
generated by using sdbus++.

For metadata, use header file generated b

Remove inheriting from sdbus exception for error metadata

For logging/reporting exceptions, applications need to use exceptions
generated by using sdbus++.

For metadata, use header file generated by elog-gen script.

Change-Id: Id8f61f8692bfd694d8875359d883465c1124bedf
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...

123