LLDB mainline
Classes | Namespaces | Functions
PerfContextSwitchDecoder.h File Reference
#include "lldb/Utility/TraceIntelPTGDBRemotePackets.h"
#include "lldb/lldb-types.h"
#include "llvm/Support/Error.h"
#include <set>
#include <vector>

Go to the source code of this file.

Classes

struct  lldb_private::trace_intel_pt::ThreadContinuousExecution
 This class indicates the time interval in which a thread was running continuously on a cpu core. More...
 

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
 
namespace  lldb_private::trace_intel_pt
 

Functions

llvm::Expected< std::vector< ThreadContinuousExecution > > lldb_private::trace_intel_pt::DecodePerfContextSwitchTrace (llvm::ArrayRef< uint8_t > data, lldb::cpu_id_t cpu_id, const LinuxPerfZeroTscConversion &tsc_conversion)
 Decodes a context switch trace collected with perf_event_open.
 
llvm::Expected< std::vector< uint8_t > > lldb_private::trace_intel_pt::FilterProcessesFromContextSwitchTrace (llvm::ArrayRef< uint8_t > data, const std::set< lldb::pid_t > &pids)