Author: Alisamar Husain
Date: 2022-03-21T13:21:45+05:30
New Revision: ca47011e73e6ff0451b6a9c8de3d3f3044acec72

URL: 
https://github.com/llvm/llvm-project/commit/ca47011e73e6ff0451b6a9c8de3d3f3044acec72
DIFF: 
https://github.com/llvm/llvm-project/commit/ca47011e73e6ff0451b6a9c8de3d3f3044acec72.diff

LOG: [tests][intelpt] Fix outdated trace load test

Differential Revision: https://reviews.llvm.org/D122114

Added: 
    

Modified: 
    lldb/test/API/commands/trace/TestTraceLoad.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/trace/TestTraceLoad.py 
b/lldb/test/API/commands/trace/TestTraceLoad.py
index 896f0eade663f..f901e2b2d9eb6 100644
--- a/lldb/test/API/commands/trace/TestTraceLoad.py
+++ b/lldb/test/API/commands/trace/TestTraceLoad.py
@@ -36,7 +36,9 @@ def testLoadTrace(self):
         self.expect("thread trace dump info", substrs=['''Trace technology: 
intel-pt
 
 thread #1: tid = 3842849
-  Raw trace size: 4096 bytes'''])
+  Raw trace size: 4 KiB
+  Total number of instructions: 21
+  Total approximate memory usage: 5.38 KiB'''])
 
     def testLoadInvalidTraces(self):
         src_dir = self.getSourceDir()


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to