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

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 01:30:46 PDT 2025


================
@@ -175,11 +180,16 @@ void DataAggregator::start() {
 
   findPerfExecutable();
 
-  if (opts::BasicAggregation) {
-    launchPerfProcess("events without LBR",
-                      MainEventsPPI,
+  if (opts::ArmSPE) {
+    // pid    from_ip      to_ip        predicted/missed not-taken?
----------------
paschalis-mpeis wrote:

Can simplify to:

```suggestion
    // pid    from_ip      to_ip      flags
```

and then expand 'flags' below:
- P/N: whether branch was Predicted or Mispredicted
- N: optionally appears when the branch was Not-Taken (ie fall-through)

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


More information about the llvm-commits mailing list