Lines Matching refs:sbprocess

24 void Decoder::RemoveDeadProcessesAndThreads(lldb::SBProcess &sbprocess) {  in RemoveDeadProcessesAndThreads()  argument
25 lldb::SBTarget sbtarget = sbprocess.GetTarget(); in RemoveDeadProcessesAndThreads()
75 void Decoder::StartProcessorTrace(lldb::SBProcess &sbprocess, in StartProcessorTrace() argument
79 CheckDebuggerID(sbprocess, sberror); in StartProcessorTrace()
85 RemoveDeadProcessesAndThreads(sbprocess); in StartProcessorTrace()
91 sbprocess.GetProcessID()); in StartProcessorTrace()
128 uint32_t unique_id = sbprocess.GetUniqueID(); in StartProcessorTrace()
130 lldb::SBTrace trace = sbprocess.StartTrace(sbtraceoptions, error); in StartProcessorTrace()
135 sbprocess.GetProcessID()); in StartProcessorTrace()
139 error.GetCString(), tid, sbprocess.GetProcessID()); in StartProcessorTrace()
147 trace_info.SetStopID(sbprocess.GetStopID()); in StartProcessorTrace()
150 void Decoder::StopProcessorTrace(lldb::SBProcess &sbprocess, in StopProcessorTrace() argument
153 CheckDebuggerID(sbprocess, sberror); in StopProcessorTrace()
160 RemoveDeadProcessesAndThreads(sbprocess); in StopProcessorTrace()
162 uint32_t unique_id = sbprocess.GetUniqueID(); in StopProcessorTrace()
167 sbprocess.GetProcessID()); in StopProcessorTrace()
197 sbprocess.GetProcessID()); in StopProcessorTrace()
231 tid, sbprocess.GetProcessID()); in StopProcessorTrace()
242 error_string.c_str(), tid, sbprocess.GetProcessID()); in StopProcessorTrace()
251 void Decoder::ReadTraceDataAndImageInfo(lldb::SBProcess &sbprocess, in ReadTraceDataAndImageInfo() argument
266 sbprocess.GetProcessID()); in ReadTraceDataAndImageInfo()
273 tid, sbprocess.GetProcessID()); in ReadTraceDataAndImageInfo()
293 error.GetCString(), tid, sbprocess.GetProcessID()); in ReadTraceDataAndImageInfo()
299 lldb::SBTarget sbtarget = sbprocess.GetTarget(); in ReadTraceDataAndImageInfo()
307 void Decoder::DecodeProcessorTrace(lldb::SBProcess &sbprocess, lldb::tid_t tid, in DecodeProcessorTrace() argument
743 void Decoder::GetInstructionLogAtOffset(lldb::SBProcess &sbprocess, in GetInstructionLogAtOffset() argument
749 CheckDebuggerID(sbprocess, sberror); in GetInstructionLogAtOffset()
756 RemoveDeadProcessesAndThreads(sbprocess); in GetInstructionLogAtOffset()
759 FetchAndDecode(sbprocess, tid, sberror, &threadTraceInfo); in GetInstructionLogAtOffset()
777 offset, count, sbprocess.GetProcessID()); in GetInstructionLogAtOffset()
794 void Decoder::GetProcessorTraceInfo(lldb::SBProcess &sbprocess, lldb::tid_t tid, in GetProcessorTraceInfo() argument
798 CheckDebuggerID(sbprocess, sberror); in GetProcessorTraceInfo()
805 RemoveDeadProcessesAndThreads(sbprocess); in GetProcessorTraceInfo()
808 FetchAndDecode(sbprocess, tid, sberror, &threadTraceInfo); in GetProcessorTraceInfo()
826 uint32_t unique_id = sbprocess.GetUniqueID(); in GetProcessorTraceInfo()
834 sbprocess.GetProcessID()); in GetProcessorTraceInfo()
841 tid, sbprocess.GetProcessID()); in GetProcessorTraceInfo()
854 void Decoder::FetchAndDecode(lldb::SBProcess &sbprocess, lldb::tid_t tid, in FetchAndDecode() argument
858 uint32_t unique_id = sbprocess.GetUniqueID(); in FetchAndDecode()
863 sbprocess.GetProcessID()); in FetchAndDecode()
871 tid, sbprocess.GetProcessID()); in FetchAndDecode()
887 if (itr_thread->second.GetStopID() == sbprocess.GetStopID()) { in FetchAndDecode()
891 itr_thread->second.SetStopID(sbprocess.GetStopID()); in FetchAndDecode()
901 sbprocess.GetProcessID()); in FetchAndDecode()
908 trace_info.SetStopID(sbprocess.GetStopID()); in FetchAndDecode()
913 ReadTraceDataAndImageInfo(sbprocess, tid, sberror, itr_thread->second); in FetchAndDecode()
921 DecodeProcessorTrace(sbprocess, tid, sberror, itr_thread->second); in FetchAndDecode()
930 void Decoder::CheckDebuggerID(lldb::SBProcess &sbprocess, in CheckDebuggerID() argument
932 if (!sbprocess.IsValid()) { in CheckDebuggerID()
937 lldb::SBTarget sbtarget = sbprocess.GetTarget(); in CheckDebuggerID()
941 sbprocess.GetProcessID()); in CheckDebuggerID()
949 sbprocess.GetProcessID()); in CheckDebuggerID()
957 sbprocess.GetProcessID()); in CheckDebuggerID()