Re: [PATCH v1 1/2] perf tests: build-test coverage for NO_JEVENTS=1

From: Leo Yan

Date: Fri Feb 06 2026 - 03:54:31 EST


On Thu, Feb 05, 2026 at 10:36:02AM -0800, Ian Rogers wrote:
> Leo reported the NO_JEVENTS=1 build being broken and this highlighted
> it being missing from the build-test, add it.

To be clear, I did not say the build is broken.

The issue I reported is that `perf stat` is broken, both with
NO_JEVENTS=1 enabled and without that configuration.

With updating the commit log, this patch LGTM:

Reviewed-by: Leo Yan <leo.yan@xxxxxxx>

> Reported-by: Leo Yan <leo.yan@xxxxxxx>
> Closes: https://lore.kernel.org/linux-perf-users/20260205175250.GC3529712@xxxxxxxxxxxxxxx/
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> ---
> tools/perf/tests/make | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/perf/tests/make b/tools/perf/tests/make
> index eb41516c0562..6587dc326d1b 100644
> --- a/tools/perf/tests/make
> +++ b/tools/perf/tests/make
> @@ -70,6 +70,7 @@ make_python_perf_so := $(python_perf_so)
> make_debug := DEBUG=1
> make_nondistro := BUILD_NONDISTRO=1
> make_extra_tests := EXTRA_TESTS=1
> +make_no_jevents := NO_JEVENTS=1
> make_jevents_all := JEVENTS_ARCH=all
> make_no_bpf_skel := BUILD_BPF_SKEL=0
> make_gen_vmlinux_h := GEN_VMLINUX_H=1
> @@ -144,6 +145,7 @@ ifneq ($(new_libbfd),)
> run += make_nondistro
> endif
> run += make_extra_tests
> +run += make_no_jevents
> run += make_jevents_all
> run += make_no_bpf_skel
> run += make_gen_vmlinux_h
> --
> 2.53.0.rc2.204.g2597b5adb4-goog
>