[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174958073883.4039944.15365887459982691266.b4-ty@kernel.org>
Date: Tue, 10 Jun 2025 11:38:58 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Ian Rogers <irogers@...gle.com>, Kan Liang <kan.liang@...ux.intel.com>,
Namhyung Kim <namhyung@...nel.org>
Cc: Jiri Olsa <jolsa@...nel.org>, Adrian Hunter <adrian.hunter@...el.com>,
Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH v2] perf bpf-filter: Improve error messages
On Wed, 04 Jun 2025 10:48:35 -0700, Namhyung Kim wrote:
> The BPF filter needs libbpf/BPF-skeleton support and root privilege.
> Add error messages to help users understand the problem easily.
>
> When it's not build with BPF support (make BUILD_BPF_SKEL=0).
>
> $ sudo perf record -e cycles --filter "pid != 0" true
> Error: BPF filter is requested but perf is not built with BPF.
> Please make sure to build with libbpf and BPF skeleton.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
Powered by blists - more mailing lists