Re: [PATCH v2] perf tools: Skip BPF sideband event for userspace profiling

From: Song Liu
Date: Thu Feb 27 2025 - 13:51:18 EST


On Wed, Feb 26, 2025 at 9:17 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> The BPF sideband information is tracked using a separate thread and
> evlist. But it's only useful for profiling kernel and we can skip it
> when users profile their application only in userspace.
>
> It seems it already fails to open the sideband event in that case.
> Let's remove the noise in the verbose output anyway.
>
> Cc: Song Liu <song@xxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

This turns out to be more complicated than I thought. I actually
like v1 better.

Thanks,
Song