From f747650b770140d7ddf87dcf507157f9681e443e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 8 Oct 2022 16:56:28 +0200 Subject: [PATCH] install.md: add xtgettcap to PGO build instructions --- INSTALL.md | 8 +++++--- 1 file 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