hanbingwang updated this revision to Diff 359994. hanbingwang added a comment.
{F18030885 <https://reviews.llvm.org/F18030885>}add two spaces before the string "Raw trace size : xxx"; add new line between each thread. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D105717/new/ https://reviews.llvm.org/D105717 Files: lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp Index: lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp =================================================================== --- lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp +++ lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp @@ -110,12 +110,12 @@ void TraceIntelPT::DumpTraceInfo(Thread &thread, Stream &s, bool verbose) { Optional<size_t> raw_size = GetRawTraceSize(thread); - s.Printf("thread #%u: tid = %" PRIu64, thread.GetIndexID(), thread.GetID()); + s.Printf("\nthread #%u: tid = %" PRIu64, thread.GetIndexID(), thread.GetID()); if (!raw_size) { s.Printf(", not traced\n"); return; } - s.Printf("\nRaw trace size: %zu bytes\n", *raw_size); + s.Printf("\n Raw trace size: %zu bytes\n", *raw_size); return; }
Index: lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp =================================================================== --- lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp +++ lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp @@ -110,12 +110,12 @@ void TraceIntelPT::DumpTraceInfo(Thread &thread, Stream &s, bool verbose) { Optional<size_t> raw_size = GetRawTraceSize(thread); - s.Printf("thread #%u: tid = %" PRIu64, thread.GetIndexID(), thread.GetID()); + s.Printf("\nthread #%u: tid = %" PRIu64, thread.GetIndexID(), thread.GetID()); if (!raw_size) { s.Printf(", not traced\n"); return; } - s.Printf("\nRaw trace size: %zu bytes\n", *raw_size); + s.Printf("\n Raw trace size: %zu bytes\n", *raw_size); return; }
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits