From 263566b727f46a3f6f446d170af514a5395fc81a Mon Sep 17 00:00:00 2001
From: Martyn Welch <martyn.welch@collabora.com>
Date: Tue, 2 May 2023 18:47:59 +0100
Subject: [PATCH] d/rules.d/tools/perf: Re-enable libopencsd

Perf can be linked against libopencsd (coresight) if enabled to do so.
As the version of this library in Bullseye was too old, it had
previously been disabled. This option is enabled in Bookworm, but seems
to have got carried across when merging the Apertis changes. Re-enable
this library.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
---
 debian/rules.d/tools/perf/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules.d/tools/perf/Makefile b/debian/rules.d/tools/perf/Makefile
index 8b14e2aa416..58c60c1dcef 100644
--- a/debian/rules.d/tools/perf/Makefile
+++ b/debian/rules.d/tools/perf/Makefile
@@ -26,8 +26,7 @@ MAKE_PERF += NO_LIBDEBUGINFOD=1
 MAKE_PERF += NO_LIBCRYPTO=1
 
 # perf only links against libopencsd (coresight) if specifically enabled
-# version in bullseye is too old
-#MAKE_PERF += CORESIGHT=1
+MAKE_PERF += CORESIGHT=1
 
 # Currently babeltrace support for `perf data' is not automatically detected.
 MAKE_PERF += LIBBABELTRACE=1
-- 
GitLab