Re: [PATCH v1] tools build: Make libperl opt-in rather than opt-out, deprecate
From: Arnaldo Carvalho de Melo
Date: Fri Sep 19 2025 - 15:07:11 EST
On Mon, Sep 08, 2025 at 11:19:18AM -0700, Ian Rogers wrote:
> If libperl is installed then the perf tool build will build against
> it. There appears to be limited interest in the scripting support for
> perl so let's make it opt-in and deprecate it.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
Applied, after the slight change below, to keep the tip for fedora/rhel
systems.
Thanks,
- Arnaldo
diff --git a/tools/perf/builtin-check.c b/tools/perf/builtin-check.c
index 5457762f7dd59425..7fd054760e47847b 100644
--- a/tools/perf/builtin-check.c
+++ b/tools/perf/builtin-check.c
@@ -49,7 +49,7 @@ struct feature_status supported_features[] = {
FEATURE_STATUS("libelf", HAVE_LIBELF_SUPPORT),
FEATURE_STATUS("libnuma", HAVE_LIBNUMA_SUPPORT),
FEATURE_STATUS("libopencsd", HAVE_CSTRACE_SUPPORT),
- FEATURE_STATUS_TIP("libperl", HAVE_LIBPERL_SUPPORT, "Deprecated, use LIBPERL=1 and install libperl-dev to build with it"),
+ FEATURE_STATUS_TIP("libperl", HAVE_LIBPERL_SUPPORT, "Deprecated, use LIBPERL=1 and install perl-ExtUtils-Embed/libperl-dev to build with it"),
FEATURE_STATUS("libpfm4", HAVE_LIBPFM),
FEATURE_STATUS("libpython", HAVE_LIBPYTHON_SUPPORT),
FEATURE_STATUS("libslang", HAVE_SLANG_SUPPORT),