[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

Lei Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 12 11:24:55 PDT 2024


================
@@ -14,29 +14,31 @@
 # RUN: FileCheck --input-file %t.yaml2 %s --check-prefix CHECK-YAML
 # CHECK-YAML: name: bar
 # CHECK-YAML: - bid: 0
-# CHECK-YAML:   pseudo_probes: [ { guid: 0xE413754A191DB537, id: 1, type: 0 }, { guid: 0xE413754A191DB537, id: 4, type: 0 } ]
-# CHECK-YAML: guid: 0xE413754A191DB537
-# CHECK-YAML: pseudo_probe_desc_hash: 0x10E852DA94
+# CHECK-YAML:   probes: [ { blx: 9 } ]
----------------
wlei-llvm wrote:

There is no call probe case, IIRC, noinline-cs-pseudoprobe.test should contain some call probes, we can use that to create the test.

there are still some cases not covered I think, but I guess  that requires to create a large binary which we don't want to upload to the repo. 

https://github.com/llvm/llvm-project/pull/107137


More information about the llvm-branch-commits mailing list