From 4fca380585b0ccddcef3082b08cbe9e5c3131e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 9 Oct 2022 16:27:10 +0200 Subject: [PATCH] install.md: add `./utils/xtgettcap name` to "full PGO" instructions too --- INSTALL.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 86280079..d2f4e3d4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -373,6 +373,7 @@ This method requires a running Wayland session. We will use the script `scripts/generate-alt-random-writes.py`: ```sh +./utils/xtgettcap name ./footclient --version foot_tmp_file=$(mktemp) ./foot \ @@ -386,9 +387,10 @@ rm ${foot_tmp_file} You should see a foot window open up, with random colored text. The window should close after ~1-2s. -The first step, `./footclient --version` might seem unnecessary, but -is needed to ensure we have _some_ profiling data for -`footclient`. Without this, the final link phase will fail. +The first step, `./utils/xtgettcap name && ./footclient --version` +might seem unnecessary, but is needed to ensure we have _some_ +profiling data for **all** binaries we build. Without this, the final +link phase will fail. ##### Use the generated PGO data