[Lldb-commits] [PATCH] D122114: [tests][intelpt] Fix outdated trace load test

Alisamar Husain via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 21 00:48:12 PDT 2022


zrthxn created this revision.
zrthxn added reviewers: wallace, jj10306.
Herald added a project: All.
zrthxn requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122114

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


Index: lldb/test/API/commands/trace/TestTraceLoad.py
===================================================================
--- lldb/test/API/commands/trace/TestTraceLoad.py
+++ lldb/test/API/commands/trace/TestTraceLoad.py
@@ -36,7 +36,9 @@
         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()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122114.416832.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220321/19213811/attachment.bin>


More information about the lldb-commits mailing list