aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-10-08 14:56:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-10-08 14:56:28 +0000
commitf747650b770140d7ddf87dcf507157f9681e443e (patch)
treeea2f05bc12caeb15ed43f909d929a040d6347bbf
parentpgo: execute xtgettcap utility, to get profiling data (diff)
install.md: add xtgettcap to PGO build instructions
-rw-r--r--INSTALL.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index da3a667e..86280079 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -327,6 +327,7 @@ We will use the `pgo` binary along with input corpus generated by
`scripts/generate-alt-random-writes.py`:
```sh
+./utils/xtgettcap name
./footclient --version
./foot --version
tmp_file=$(mktemp)
@@ -349,9 +350,10 @@ rm ${tmp_file}
```
The first step, running `./foot --version` and `./footclient
---version` might seem unnecessary, but is needed to ensure we have
-_some_ profiling data for functions not covered by the PGO helper
-binary. Without this, the final link phase will fail.
+--version` etc, might seem unnecessary, but is needed to ensure we
+have _some_ profiling data for functions not covered by the PGO helper
+binary, for **all** binaries. Without this, the final link phase will
+fail.
The snippet above then creates an (empty) temporary file. Then, it
runs a script that generates random escape sequences (if you cat