Skip to content

Commit 87bf6c1

Browse files
Update BOLT+SPE
Change-Id: Ic5ef1a9fb08aed16511e4e0f04c03bbb978bd106
1 parent dec3dfd commit 87bf6c1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

content/learning-paths/servers-and-cloud-computing/bolt/before-you-begin.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ arm_spe_0// [Kernel PMU event]
139139
```
140140

141141
If `arm_spe` isn't found you will need to update the Linux Kernel and perf to 5.15 or later.
142+
To enable it see [Enable the SPE feature in Linux guide](https://developer.arm.com/documentation/ka005362/1-0).
142143

143144
To confirm SPE is working run:
144145

@@ -175,4 +176,4 @@ For Clang:
175176

176177
```bash
177178
clang <args> -Wl,--emit-relocs
178-
```
179+
```

content/learning-paths/servers-and-cloud-computing/bolt/bolt-spe.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Using BOLT with SPE
2+
title: Use BOLT with SPE
33
weight: 6
44

55
### FIXED, DO NOT MODIFY
@@ -8,7 +8,12 @@ layout: learningpathall
88

99
## BOLT with SPE
1010

11-
The steps to optimize an executable with BOLT using Perf SPE is below.
11+
{{% notice Important Note %}}
12+
Currently, BOLT may not generate a faster binary when using Perf SPE due to limitations within `perf` and BOLT itself.
13+
For more information and the latest updates see: [[AArch64] BOLT does not support SPE branch data](https://github.com/llvm/llvm-project/issues/115333).
14+
{{% /notice %}}
15+
16+
The steps to use BOLT with Perf SPE are listed below.
1217

1318
### Collect Perf data with SPE
1419

0 commit comments

Comments
 (0)