Class CrashDumpRVC2
Defined in File CrashDump.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public dai::CrashDump(Class CrashDump)
Class Documentation
-
class CrashDumpRVC2 : public dai::CrashDump
Public Functions
-
CrashDumpRVC2() = default
-
explicit CrashDumpRVC2(const std::filesystem::path &tarFile)
Construct crashdump from a tar file.
- Parameters:
tarFile – Path to the tar file
-
inline virtual Platform getPlatform() const override
Identify the platform that this crashdump corresponds to.
- Returns:
Platform enum value
-
inline virtual std::string getCrashDumpVersion() const override
Get the version of the crash dump format.
- Returns:
Version string
-
virtual void toTar(const std::filesystem::path &tarPath) const override
Serialize the crash dump to a tar file.
- Parameters:
tarPath – Path to the output tar file
-
virtual void fromTar(const std::filesystem::path &tarPath) override
Deserialize the crash dump from a tar file.
- Parameters:
tarPath – Path to the input tar file
Public Members
-
CrashReportCollection crashReports
-
struct CrashReport
Public Functions
-
DEPTHAI_SERIALIZE(CrashReport, processor, errorSource, crashedThreadId, errorSourceInfo, threadCallstack, prints, uptimeNs, timerRaw, statusFlags)
Public Members
-
ProcessorType processor
-
std::string errorSource
-
uint32_t crashedThreadId = 0
-
ErrorSourceInfo errorSourceInfo
-
std::vector<ThreadCallstack> threadCallstack
-
uint64_t timerRaw = 0
Raw device timer value captured in the crash report.
-
uint64_t statusFlags = 0
Platform-specific crash/status flags captured with the report.
-
struct ErrorSourceInfo
Public Functions
-
DEPTHAI_SERIALIZE(ErrorSourceInfo, assertContext, trapContext, errorId)
-
struct AssertContext
Public Functions
-
DEPTHAI_SERIALIZE(AssertContext, fileName, functionName, line)
-
DEPTHAI_SERIALIZE(AssertContext, fileName, functionName, line)
-
struct TrapContext
Public Functions
-
DEPTHAI_SERIALIZE(TrapContext, trapNumber, trapAddress, trapName)
-
DEPTHAI_SERIALIZE(TrapContext, trapNumber, trapAddress, trapName)
-
DEPTHAI_SERIALIZE(ErrorSourceInfo, assertContext, trapContext, errorId)
-
struct ThreadCallstack
Public Functions
-
DEPTHAI_SERIALIZE(ThreadCallstack, threadId, threadName, threadStatus, stackBottom, stackTop, stackPointer, instructionPointer, callStack)
Public Members
-
uint32_t threadId = 0
-
std::string threadName
-
std::string threadStatus
-
uint32_t stackBottom = 0
-
uint32_t stackTop = 0
-
uint32_t stackPointer = 0
-
uint32_t instructionPointer = 0
-
std::vector<CallstackContext> callStack
-
struct CallstackContext
Public Functions
-
DEPTHAI_SERIALIZE(CallstackContext, callSite, calledTarget, framePointer, context)
-
DEPTHAI_SERIALIZE(CallstackContext, callSite, calledTarget, framePointer, context)
-
DEPTHAI_SERIALIZE(ThreadCallstack, threadId, threadName, threadStatus, stackBottom, stackTop, stackPointer, instructionPointer, callStack)
-
DEPTHAI_SERIALIZE(CrashReport, processor, errorSource, crashedThreadId, errorSourceInfo, threadCallstack, prints, uptimeNs, timerRaw, statusFlags)
-
struct CrashReportCollection
Public Functions
-
DEPTHAI_SERIALIZE(CrashReportCollection, crashReports, depthaiCommitHash, deviceId)
Public Members
-
std::vector<CrashReport> crashReports
-
std::string depthaiCommitHash
-
std::string deviceId
-
DEPTHAI_SERIALIZE(CrashReportCollection, crashReports, depthaiCommitHash, deviceId)
-
CrashDumpRVC2() = default