install.md: add xtgettcap to PGO build instructions

This commit is contained in:
Daniel Eklöf 2022-10-08 16:56:28 +02:00
parent 503740f836
commit f747650b77
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -327,6 +327,7 @@ We will use the `pgo` binary along with input corpus generated by
`scripts/generate-alt-random-writes.py`: `scripts/generate-alt-random-writes.py`:
```sh ```sh
./utils/xtgettcap name
./footclient --version ./footclient --version
./foot --version ./foot --version
tmp_file=$(mktemp) tmp_file=$(mktemp)
@ -349,9 +350,10 @@ rm ${tmp_file}
``` ```
The first step, running `./foot --version` and `./footclient The first step, running `./foot --version` and `./footclient
--version` might seem unnecessary, but is needed to ensure we have --version` etc, might seem unnecessary, but is needed to ensure we
_some_ profiling data for functions not covered by the PGO helper have _some_ profiling data for functions not covered by the PGO helper
binary. Without this, the final link phase will fail. binary, for **all** binaries. Without this, the final link phase will
fail.
The snippet above then creates an (empty) temporary file. Then, it The snippet above then creates an (empty) temporary file. Then, it
runs a script that generates random escape sequences (if you cat runs a script that generates random escape sequences (if you cat