9#ifndef liblldb_IntelPTPerThreadProcessTrace_H_
10#define liblldb_IntelPTPerThreadProcessTrace_H_
18namespace process_linux {
36 static llvm::Expected<std::unique_ptr<IntelPTPerThreadProcessTrace>>
38 llvm::ArrayRef<lldb::tid_t> current_tids);
48 llvm::Expected<std::optional<std::vector<uint8_t>>>
Manages a "process trace" instance by tracing each thread individually.
bool TracesThread(lldb::tid_t tid) const override
llvm::Error TraceStart(lldb::tid_t tid) override
Start tracing the thread given by its tid.
IntelPTThreadTraceCollection m_thread_traces
TraceIntelPTGetStateResponse GetState() override
Construct a minimal jLLDBTraceGetState response for this process trace.
TraceIntelPTStartRequest m_tracing_params
Params used to trace threads when the user started "process tracing".
llvm::Expected< std::optional< std::vector< uint8_t > > > TryGetBinaryData(const TraceGetBinaryDataRequest &request) override
llvm::Error TraceStop(lldb::tid_t tid) override
Stop tracing the thread given by its tid.
static llvm::Expected< std::unique_ptr< IntelPTPerThreadProcessTrace > > Start(const TraceIntelPTStartRequest &request, llvm::ArrayRef< lldb::tid_t > current_tids)
Start tracing the current process by tracing each of its tids individually.
IntelPTPerThreadProcessTrace(const TraceIntelPTStartRequest &request)
Interface to be implemented by each 'process trace' strategy (per cpu, per thread,...
Manages a list of thread traces.
A class that represents a running process on the host machine.
jLLDBTraceGetBinaryData gdb-remote packet
jLLDBTraceStart gdb-remote packet