Home
last modified time | relevance | path

Searched refs:json_str (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPT.cpp358 json::OStream json_str(s.AsRawOstream(), 2); in DumpTraceInfoAsJson() local
377 json_str.object([&] { in DumpTraceInfoAsJson()
378 json_str.attribute("traceTechnology", "intel-pt"); in DumpTraceInfoAsJson()
379 json_str.attributeObject("threadStats", [&] { in DumpTraceInfoAsJson()
380 json_str.attribute("tid", tid); in DumpTraceInfoAsJson()
383 json_str.attribute("traceItemsCount", insn_len); in DumpTraceInfoAsJson()
387 json_str.attributeObject("memoryUsage", [&] { in DumpTraceInfoAsJson()
388 json_str.attribute("totalInBytes", std::to_string(mem_used)); in DumpTraceInfoAsJson()
392 json_str.attribute("avgPerItemInBytes", avg); in DumpTraceInfoAsJson()
396 json_str in DumpTraceInfoAsJson()
[all...]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBCommandInterpreter.cpp569 std::string json_str = in GetStatistics() local
571 data.m_impl_up->SetObjectSP(StructuredData::ParseJSON(json_str)); in GetStatistics()
H A DSBTarget.cpp213 std::string json_str = in GetStatistics() local
218 data.m_impl_up->SetObjectSP(StructuredData::ParseJSON(json_str)); in GetStatistics()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp5392 StreamString json_str; in ParseStructuredDataPacket() local
5393 json_sp->Dump(json_str, true); in ParseStructuredDataPacket()
5394 json_str.Flush(); in ParseStructuredDataPacket()
5398 __FUNCTION__, json_str.GetData()); in ParseStructuredDataPacket()