[llvm-branch-commits] [llvm] Add initial support for SPE brstack format (PR #129231)

Paschalis Mpeis via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 10 10:15:21 PDT 2025


================
@@ -180,13 +178,16 @@ void DataAggregator::start() {
 
   if (opts::ArmSPE) {
     if (!opts::BasicAggregation) {
-      errs() << "PERF2BOLT-ERROR: Arm SPE mode is combined only with "
-                "BasicAggregation.\n";
-      exit(1);
+      // pid    from_ip      to_ip        predicted?
+      // 12345  0x123/0x456/P/-/-/8/RET/-
----------------
paschalis-mpeis wrote:

Not sure if something like the below is more appropriate?
BTW the other methods do not list any examples.

```suggestion
      // pid    from_ip      to_ip        predicted/missed not-taken?
      // 12345  0x123/0x456/PN/-/-/8/RET/-
```

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


More information about the llvm-branch-commits mailing list