LLDB mainline
lldb_private::trace_intel_pt::DecodedThread::ErrorStats Struct Reference

#include <DecodedThread.h>

Public Member Functions

uint64_t GetTotalCount () const
void RecordError (int libipt_error_code)
void RecordError (bool fatal)

Public Attributes

uint64_t other_errors = 0
 The following counters are mutually exclusive.
uint64_t fatal_errors = 0
llvm::DenseMap< const char *, uint64_t > libipt_errors

Detailed Description

Definition at line 137 of file DecodedThread.h.

Member Function Documentation

◆ GetTotalCount()

uint64_t DecodedThread::ErrorStats::GetTotalCount ( ) const

◆ RecordError() [1/2]

void DecodedThread::ErrorStats::RecordError ( bool fatal)

Definition at line 221 of file DecodedThread.cpp.

References fatal_errors, and other_errors.

◆ RecordError() [2/2]

void DecodedThread::ErrorStats::RecordError ( int libipt_error_code)

Definition at line 228 of file DecodedThread.cpp.

References libipt_errors.

Member Data Documentation

◆ fatal_errors

uint64_t lldb_private::trace_intel_pt::DecodedThread::ErrorStats::fatal_errors = 0

◆ libipt_errors

llvm::DenseMap<const char *, uint64_t> lldb_private::trace_intel_pt::DecodedThread::ErrorStats::libipt_errors

◆ other_errors

uint64_t lldb_private::trace_intel_pt::DecodedThread::ErrorStats::other_errors = 0

The documentation for this struct was generated from the following files: