9#ifndef liblldb_IntelPTProcessTrace_H_
10#define liblldb_IntelPTProcessTrace_H_
17namespace process_linux {
44 virtual llvm::Expected<std::optional<std::vector<uint8_t>>>
Interface to be implemented by each 'process trace' strategy (per cpu, per thread,...
virtual ~IntelPTProcessTrace()=default
virtual TraceIntelPTGetStateResponse GetState()=0
Construct a minimal jLLDBTraceGetState response for this process trace.
virtual llvm::Error TraceStart(lldb::tid_t tid)=0
Start tracing the thread given by its tid.
virtual llvm::Expected< std::optional< std::vector< uint8_t > > > TryGetBinaryData(const TraceGetBinaryDataRequest &request)=0
virtual void ProcessWillResume()
virtual void ProcessDidStop()
virtual bool TracesThread(lldb::tid_t tid) const =0
virtual llvm::Error TraceStop(lldb::tid_t tid)=0
Stop tracing the thread given by its tid.
std::unique_ptr< IntelPTProcessTrace > IntelPTProcessTraceUP
A class that represents a running process on the host machine.
jLLDBTraceGetBinaryData gdb-remote packet