Lines Matching full:dump
17 namespace dump namespace
33 // A system dump can be created due to a fault in the server or by a user in notify()
34 // request. A system dump by fault is first reported here, but for a in notify()
35 // user-requested dump, an entry will be created first with an invalid in notify()
36 // source id. Since only one system dump creation is allowed at a time, if in notify()
38 openpower::dump::system::Entry* upEntry = nullptr; in notify()
41 openpower::dump::system::Entry* sysEntry = in notify()
42 dynamic_cast<openpower::dump::system::Entry*>(entry.second.get()); in notify()
49 phosphor::dump::OperationStatus::Completed) in notify()
52 "System dump entry with source dump id:{SOURCE_ID} and " in notify()
60 lg2::error("A duplicate notification for an incomplete dump " in notify()
61 "dump id: {SOURCE_ID} entry id: {ID}", in notify()
69 // If the dump id is the same but the size is different, then this in notify()
70 // is a new dump. So, delete the stale entry and prepare to create a in notify()
72 lg2::info("A previous dump entry found with same source id: " in notify()
91 "System Dump Notify: Updating dumpId:{ID} Source Id:{SOURCE_ID} " in notify()
107 lg2::info("System Dump Notify: creating new dump " in notify()
113 phosphor::dump::OperationStatus::Completed, std::string(), in notify()
119 "Error in creating system dump entry, errormsg: {ERROR}, " in notify()
132 phosphor::dump::DumpCreateParams params) in createDump()
142 "System dump accepts not more than 2 additional parameters"); in createDump()
147 if (openpower::dump::util::isSystemDumpInProgress(bus)) in createDump()
149 lg2::error("Another dump in progress or available to offload"); in createDump()
158 phosphor::dump::HostState hostState; in createDump()
161 isHostRunning = phosphor::dump::isHostRunning(); in createDump()
162 hostState = phosphor::dump::getHostState(); in createDump()
167 "System state cannot be determined, system dump is not allowed: " in createDump()
172 bool isHostQuiesced = hostState == phosphor::dump::HostState::Quiesced; in createDump()
174 hostState == phosphor::dump::HostState::TransitioningToOff; in createDump()
175 // Allow creating system dump only when the host is up or quiesced in createDump()
179 lg2::error("System dump can be initiated only when the host is up " in createDump()
182 "System dump can be initiated only when the host is up " in createDump()
191 phosphor::dump::extractOriginatorProperties(params, originatorId, in createDump()
214 phosphor::dump::OperationStatus::InProgress, originatorId, in createDump()
219 lg2::error("Error in creating system dump entry, errormsg: {ERROR}, " in createDump()
230 } // namespace dump