From a9fc7ce1806d92779da9931c804a88ac444344ab Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 10 Oct 2022 17:18:04 +0200 Subject: pgo: run xtgettcap without any arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We execute xtgettcap in the parent terminal. Thus we don’t know if it implements XTGETTCAP, and thus it’s not guaranteed to exit - it may hang indefinitely waiting for a reply. Fix by not actually quering anything. --- INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index d2f4e3d4..4c15b7b4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -327,7 +327,7 @@ We will use the `pgo` binary along with input corpus generated by `scripts/generate-alt-random-writes.py`: ```sh -./utils/xtgettcap name +./utils/xtgettcap ./footclient --version ./foot --version tmp_file=$(mktemp) @@ -373,7 +373,7 @@ This method requires a running Wayland session. We will use the script `scripts/generate-alt-random-writes.py`: ```sh -./utils/xtgettcap name +./utils/xtgettcap ./footclient --version foot_tmp_file=$(mktemp) ./foot \ @@ -387,7 +387,7 @@ 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, `./utils/xtgettcap name && ./footclient --version` +The first step, `./utils/xtgettcap && ./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. -- cgit v1.3