LLDB mainline
PerfContextSwitchRecord Struct Reference

Record found in the perf_event context switch traces. More...

Public Member Functions

bool IsOut () const

Public Attributes

struct perf_event_header header
uint32_t next_prev_pid
uint32_t next_prev_tid
uint32_t pid
uint32_t tid
uint64_t time_in_nanos

Detailed Description

Record found in the perf_event context switch traces.

It might contain additional fields in memory, but header.size should have the actual size of the record.

Definition at line 74 of file PerfContextSwitchDecoder.cpp.

Member Function Documentation

◆ IsOut()

bool PerfContextSwitchRecord::IsOut ( ) const
inline

Definition at line 81 of file PerfContextSwitchDecoder.cpp.

References header, and PERF_RECORD_MISC_SWITCH_OUT.

Member Data Documentation

◆ header

struct perf_event_header PerfContextSwitchRecord::header

Definition at line 75 of file PerfContextSwitchDecoder.cpp.

Referenced by IsOut().

◆ next_prev_pid

uint32_t PerfContextSwitchRecord::next_prev_pid

Definition at line 76 of file PerfContextSwitchDecoder.cpp.

◆ next_prev_tid

uint32_t PerfContextSwitchRecord::next_prev_tid

Definition at line 77 of file PerfContextSwitchDecoder.cpp.

◆ pid

uint32_t PerfContextSwitchRecord::pid

Definition at line 78 of file PerfContextSwitchDecoder.cpp.

◆ tid

uint32_t PerfContextSwitchRecord::tid

Definition at line 78 of file PerfContextSwitchDecoder.cpp.

◆ time_in_nanos

uint64_t PerfContextSwitchRecord::time_in_nanos

Definition at line 79 of file PerfContextSwitchDecoder.cpp.


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