aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-10-07 19:47:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-10-07 19:47:56 +0000
commit503740f8365aa67197a8ef6f710852b5caec362c (patch)
tree9092f9d3d1c917b222fb0e9cf622e8dc39ccb983
parentutils: xtgettcap: new utility, to send XTGETTCAP queries (diff)
pgo: execute xtgettcap utility, to get profiling data
Fixes: ../utils/xtgettcap.c:175:1: error: ‘/home/daniel/src/foot/src/utils/xtgettcap.p/xtgettcap.c.gcda’ profile count data file not found [-Werror=missing-profile]
-rwxr-xr-xpgo/full-inner.sh1
-rwxr-xr-xpgo/partial.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/pgo/full-inner.sh b/pgo/full-inner.sh
index 599d6aad..425d1ff0 100755
--- a/pgo/full-inner.sh
+++ b/pgo/full-inner.sh
@@ -15,6 +15,7 @@ rm -f "${blddir}"/pgo-ok
# To ensure profiling data is generated in the build directory
cd "${blddir}"
+"${blddir}"/utils/xtgettcap name
"${blddir}"/footclient --version
"${blddir}"/foot \
--config=/dev/null \
diff --git a/pgo/partial.sh b/pgo/partial.sh
index c16de324..17de7175 100755
--- a/pgo/partial.sh
+++ b/pgo/partial.sh
@@ -21,6 +21,7 @@ rm -f "${blddir}"/pgo-ok
# To ensure profiling data is generated in the build directory
cd "${blddir}"
+"${blddir}"/utils/xtgettcap name
"${blddir}"/footclient --version
"${blddir}"/foot --version
"${blddir}"/pgo "${pgo_data}"