LLDB mainline
Public Member Functions | List of all members
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.

◆ RecordError() [2/2]

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

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 following counters are mutually exclusive.

Definition at line 140 of file DecodedThread.h.

Referenced by lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfo(), and lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfoAsJson().


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