/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-elog.c | 32 ssize_t (*show)(struct elog_obj *elog, struct elog_attribute *attr, 34 ssize_t (*store)(struct elog_obj *elog, struct elog_attribute *attr, 100 struct elog_obj *elog; in elog_attr_show() local 103 elog = to_elog_obj(kobj); in elog_attr_show() 108 return attribute->show(elog, attribute, buf); in elog_attr_show() 116 struct elog_obj *elog; in elog_attr_store() local 119 elog = to_elog_obj(kobj); in elog_attr_store() 124 return attribute->store(elog, attribute, buf, len); in elog_attr_store() 134 struct elog_obj *elog; in elog_release() local 136 elog = to_elog_obj(kobj); in elog_release() [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | elog.hpp | 4 #include <phosphor-logging/elog-errors.hpp> 5 #include <phosphor-logging/elog.hpp> 41 * @brief Elog callback implementation. 43 * The elog callback logs the elog and 44 * elog metadata. 84 /** @class Elog 85 * @brief C++ type specific logic for the elog callback. 86 * The elog callback logs the elog and elog metadata. 93 class Elog : public ElogBase class 96 Elog(const Elog&) = delete; [all …]
|
/openbmc/phosphor-logging/ |
H A D | logging_test.cpp | 6 #include <phosphor-logging/elog-errors.hpp> 7 #include <phosphor-logging/elog.hpp> 95 elog<example::xyz::openbmc_project::example::elog::TestErrorOne>( in elog_test() 96 example::xyz::openbmc_project::example::elog::TestErrorOne::ERRNUM( in elog_test() 98 example::xyz::openbmc_project::example::elog::TestErrorOne:: in elog_test() 100 example::xyz::openbmc_project::example::elog::TestErrorOne:: in elog_test() 102 example::xyz::openbmc_project::example::elog::TestErrorTwo:: in elog_test() 104 example::xyz::openbmc_project::example::elog::TestErrorTwo::DEV_ID( in elog_test() 106 example::xyz::openbmc_project::example::elog::TestErrorTwo:: in elog_test() 109 catch (const example::xyz::openbmc_project::example::elog::TestErrorOne& e) in elog_test() [all …]
|
H A D | meson.build | 98 # Generate elog-lookup.cpp 100 'elog-lookup.cpp'.underscorify(), 102 'tools/elog-gen.py', 103 'tools/phosphor-logging/templates/elog-lookup-template.mako.cpp', 105 output: 'elog-lookup.cpp', 121 # Generate elog-process-metadata.cpp 123 'elog-process-metadata.cpp'.underscorify(), 125 'tools/elog-gen.py', 126 'tools/phosphor-logging/templates/elog-process-metadata.mako.cpp', 128 output: 'elog [all...] |
/openbmc/phosphor-logging/test/ |
H A D | elog_update_ts_test.cpp | 67 Entry elog{bus, in TEST() local 79 EXPECT_EQ(elog.timestamp(), elog.updateTimestamp()); in TEST() 83 elog.resolved(true); in TEST() 84 auto updateTS = elog.updateTimestamp(); in TEST() 85 EXPECT_NE(updateTS, elog.timestamp()); in TEST() 89 elog.resolved(false); in TEST() 90 EXPECT_NE(updateTS, elog.updateTimestamp()); in TEST() 91 updateTS = elog.updateTimestamp(); in TEST() 96 elog.resolved(false); in TEST() 97 EXPECT_EQ(updateTS, elog.updateTimestamp()); in TEST() [all …]
|
/openbmc/phosphor-certificate-manager/ |
H A D | x509_utils.cpp | 13 #include <phosphor-logging/elog-errors.hpp> 14 #include <phosphor-logging/elog.hpp> 30 using ::phosphor::logging::elog; 64 elog<InternalFailure>(); in getX509Store() 76 elog<InternalFailure>(); in getX509Store() 86 elog<InvalidCertificate>(Reason("Invalid certificate file format")); in getX509Store() 100 elog<InternalFailure>(); in loadCert() 108 elog<InternalFailure>(); in loadCert() 116 elog<InternalFailure>(); in loadCert() 138 elog<InvalidCertificate>( in validateCertificateStartDate() [all …]
|
H A D | certs_manager.cpp | 19 #include <phosphor-logging/elog-errors.hpp> 20 #include <phosphor-logging/elog.hpp> 48 using ::phosphor::logging::elog; 102 elog<InternalFailure>(); in splitCertificates() 119 elog<InvalidCertificate>(InvalidCertificateReason( in splitCertificates() 232 elog<InternalFailure>(); in Manager() 256 elog<NotAllowed>(NotAllowedReason("Certificate already exist")); in install() 261 elog<NotAllowed>(NotAllowedReason("Certificates limit reached")); in install() 276 elog<NotAllowed>(NotAllowedReason("Certificate already exist")); in install() 287 elog<NotAllowed>(NotAllowedReason( in installAll() [all …]
|
H A D | csr.cpp | 11 #include <phosphor-logging/elog-errors.hpp> 12 #include <phosphor-logging/elog.hpp> 25 using ::phosphor::logging::elog; 47 elog<InternalFailure>(); in csr() 55 elog<InternalFailure>(); in csr() 69 elog<InternalFailure>(); in csr() 78 elog<InternalFailure>(); in csr()
|
H A D | certificate.cpp | 19 #include <phosphor-logging/elog-errors.hpp> 20 #include <phosphor-logging/elog.hpp> 42 using ::phosphor::logging::elog; 110 elog<InternalFailure>(); in dumpCertificate() 134 elog<InternalFailure>(); in copyCertificate() 147 elog<InternalFailure>(); in generateUniqueFilePath() 177 elog<InternalFailure>(); in generateAuthCertFileX509Path() 229 elog<InvalidCertificateError>(InvalidCertificate::REASON( in Certificate() 312 elog<InternalFailure>(); in install() 321 elog<InvalidCertificateError>( in install() [all …]
|
/openbmc/phosphor-debug-collector/ |
H A D | elog_watch.hpp | 19 namespace elog namespace 27 * @brief Adds d-bus signal based watch for elog add and delete. 41 /** @brief constructs watch for elog add and delete signals. 79 /** @brief get elog ID from elog entry object string. 80 * @param[in] objectPath - elog entry object path. 81 * @return - elog id. 92 /** @brief sdbusplus signal match for elog add */ 95 /** @brief sdbusplus signal match for elog delete */ 98 /** @brief List of elog ids, which have associated dumps created */ 102 } // namespace elog
|
H A D | elog_watch.cpp | 10 #include <phosphor-logging/elog.hpp> 18 CEREAL_CLASS_VERSION(phosphor::dump::elog::Watch, CLASS_VERSION) 24 namespace elog namespace 70 lg2::error("Failed to parse elog add signal, errormsg: {ERROR}, " in addCallback() 88 // elog exists in the list, Skip the dump in addCallback() 135 // Save the elog information. This is to avoid dump requests in addCallback() 136 // in elog restore path. in addCallback() 139 phosphor::dump::elog::serialize(elogList); in addCallback() 159 lg2::error("Failed to parse elog del signal, errormsg: {ERROR}, " in delCallback() 172 // Get elog id in delCallback() [all …]
|
H A D | dump_serialize.hpp | 12 namespace elog namespace 18 * @param[in] list - elog id list. 19 * @param[in] dir - pathname of file where the serialized elog id's will 28 * @param[out] list - elog id list 33 } // namespace elog
|
/openbmc/phosphor-host-ipmid/app/ |
H A D | watchdog_service.cpp | 4 #include <phosphor-logging/elog-errors.hpp> 5 #include <phosphor-logging/elog.hpp> 16 using phosphor::logging::elog; 52 elog<InternalFailure>(); in resetTimeRemaining() 78 elog<InternalFailure>(); in getProperties() 102 elog<InternalFailure>(); in getProperties() 105 // Needed instead of elog<InternalFailure>() since the compiler can't in getProperties() 106 // deduce the that elog<>() always throws in getProperties() 134 elog<InternalFailure>(); in getProperty() 137 // Needed instead of elog<InternalFailure>() since the compiler can't in getProperty() [all …]
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 171 static int tcg2_log_append_check(struct tcg2_event_log *elog, u32 pcr_index, in tcg2_log_append_check() argument 180 if (elog->log_position + event_size > elog->log_size) { in tcg2_log_append_check() 182 elog->log_position, event_size, elog->log_size); in tcg2_log_append_check() 186 log = elog->log + elog->log_position; in tcg2_log_append_check() 187 elog->log_position += event_size; in tcg2_log_append_check() 194 static int tcg2_log_init(struct udevice *dev, struct tcg2_event_log *elog) in tcg2_log_init() argument 234 if (log_size > elog->log_size) { in tcg2_log_init() 236 elog->log_size); in tcg2_log_init() 240 log = (struct tcg_pcr_event *)elog->log; in tcg2_log_init() 274 elog->log_position = log_size; in tcg2_log_init() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | download_manager.cpp | 10 #include <phosphor-logging/elog-errors.hpp> 11 #include <phosphor-logging/elog.hpp> 47 elog<InvalidArgument>(Argument::ARGUMENT_NAME("FileName"), in downloadViaTFTP() 55 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ServerAddress"), in downloadViaTFTP() 70 elog<InternalFailure>(); in downloadViaTFTP() 89 elog<InternalFailure>(); in downloadViaTFTP() 94 elog<InternalFailure>(); in downloadViaTFTP() 104 elog<InternalFailure>(); in downloadViaTFTP()
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | ldap_config_mgr.cpp | 6 #include <phosphor-logging/elog-errors.hpp> 7 #include <phosphor-logging/elog.hpp> 65 elog<InternalFailure>(); in restartService() 81 elog<InternalFailure>(); in stopService() 104 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapServerURI"), in createConfig() 112 elog<NoCACertificate>(); in createConfig() 119 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBindDN"), in createConfig() 127 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBaseDN"), in createConfig() 192 elog<NotAllowed>(NotAllowedArgument::REASON( in enableService() 197 elog<NotAllowed>(NotAllowedArgument::REASON( in enableService()
|
H A D | ldap_config.cpp | 10 #include <phosphor-logging/elog-errors.hpp> 11 #include <phosphor-logging/elog.hpp> 157 elog<InternalFailure>(); in certificateInstalled() 185 elog<InternalFailure>(); in certificateChanged() 324 elog<InternalFailure>(); in writeConfig() 351 elog<InternalFailure>(); in ldapBindDNPassword() 376 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapServerURI"), in ldapServerURI() 384 elog<NoCACertificate>(); in ldapServerURI() 410 elog<InternalFailure>(); in ldapServerURI() 429 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapBindDN"), in ldapBindDN() [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/ |
H A D | test.yaml | 61 - name: test elog callback 1 63 callback: elog 75 - name: test elog callback 2 77 callback: elog 89 - test elog callback 1 97 - test elog callback 2
|
/openbmc/openpower-sbe-interface/ |
H A D | sbe_chipOp_handler.cpp | 44 // TODO:use elog infrastructure in writeToFifo() 51 // TODO:use elog infrastructure in writeToFifo() 60 // TODO:use elog infrastructure in writeToFifo() 72 // TODO:use elog infrastructure in writeToFifo() 79 // TODO:use elog infrastructure in writeToFifo() 93 // TODO:use elog infrastructure in writeToFifo() 121 // TODO:use elog infrastructure in parseResponse() 147 // TODO:use elog infrastructure in parseResponse() 171 // TODO:use elog infrastructure to return the SBE and Hardware procedure in parseResponse()
|
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ |
H A D | elog | 4 # @brief: Collect only user initialized elog ID details. 10 log_error "elog does not exist" 14 desc="elog id:$elog_id" 15 file_name="elog-$elog_id.log"
|
/openbmc/phosphor-networkd/src/ |
H A D | neighbor.cpp | 6 #include <phosphor-logging/elog-errors.hpp> 7 #include <phosphor-logging/elog.hpp> 67 using phosphor::logging::elog; 71 elog<NotAllowed>(REASON("Property update is not allowed")); in ipAddress() 76 elog<NotAllowed>(REASON("Property update is not allowed")); in macAddress() 81 elog<NotAllowed>(REASON("Property update is not allowed")); in state()
|
H A D | ipaddress.cpp | 7 #include <phosphor-logging/elog-errors.hpp> 72 elog<NotAllowed>(Reason("Property update is not allowed")); in address() 76 elog<NotAllowed>(Reason("Property update is not allowed")); in prefixLength() 80 elog<NotAllowed>(Reason("Property update is not allowed")); in gateway() 84 elog<NotAllowed>(Reason("Property update is not allowed")); in type() 88 elog<NotAllowed>(Reason("Property update is not allowed")); in origin() 99 elog<NotAllowed>(Reason("Not allowed to delete a non-static address")); in delete_()
|
/openbmc/phosphor-gpio-monitor/ |
H A D | evdev.cpp | 8 #include <phosphor-logging/elog-errors.hpp> 9 #include <phosphor-logging/elog.hpp> 28 elog<InternalFailure>(); in openDevice() 47 elog<InternalFailure>(); in initEvDev() 66 elog<InternalFailure>(); in registerCallback()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | image_verify.cpp | 11 #include <phosphor-logging/elog-errors.hpp> 12 #include <phosphor-logging/elog.hpp> 56 elog<InternalFailure>(); in getAvailableKeyTypesFromSystem() 147 elog<InternalFailure>(); in systemLevelVerify() 208 elog<InternalFailure>(); in verifyFile() 217 elog<InternalFailure>(); in verifyFile() 232 elog<InternalFailure>(); in verifyFile() 242 elog<InternalFailure>(); in verifyFile() 254 elog<InternalFailure>(); in verifyFile() 270 elog<InternalFailure>(); in verifyFile() [all …]
|
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/ |
H A D | pldm_oem_cmds.cpp | 27 #include <phosphor-logging/elog-errors.hpp> 77 elog<NotAllowed>(Reason("Required host dump action via pldm is not " in readEID() 91 elog<NotAllowed>(Reason( in readEID() 126 elog<NotAllowed>(Reason("Host dump offload via pldm is not " in requestOffload() 135 elog<NotAllowed>(Reason("Host dump offload via pldm is not " in requestOffload() 152 elog<NotAllowed>(Reason("Host dump offload via pldm is not " in requestOffload() 198 elog<NotAllowed>(Reason("Host dump deletion via pldm is not " in requestDelete() 212 elog<NotAllowed>(Reason("Host dump deletion via pldm is not " in requestDelete() 233 elog<NotAllowed>(Reason("Host dump deletion via pldm is not " in requestDelete()
|