]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
perf: Fix reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Sep 2025 11:36:12 +0000 (12:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Sep 2025 09:30:50 +0000 (10:30 +0100)
commit0a886fcacaab0fbce1306c0f99d482f940a8f705
treec20f675b3a6bb2ff9b61aa1435ad575492be9642
parent3aee16beac9b12403babfc7eef02be71b2297e70
perf: Fix reproducibility issue

Perf's build process generates two copies of its internal headers,
one at tools/lib/perf/include/internal and one at libperf/include/internal
with files like xyarray.h. Although the files are identical, the binaries including
them would see them at different paths and have different debuginfo data.

To avoid this, build libperf.a first, which will ensure the libperf
headers directory exists. This is used in preference to the other by
the build process and results in consistent binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb