Re: [PATCH 0/2] LIBBPF_DYNAMIC=1 fixes
From: Ian Rogers
Date: Fri Sep 19 2025 - 18:11:08 EST
On Fri, Sep 19, 2025 at 2:58 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> On Fri, Sep 19, 2025 at 06:06:52PM -0300, Arnaldo Carvalho de Melo wrote:
> > Hi,
> >
> > Please take a look, noticed after processing a patch from Ian
> > for another such issue, on a hurry now, haven't checked when that
> > emit_string was introduced.
emit_strings was added in Linux v6.17 and libbpf was tagged as version
1.7 prior to that.
Thanks,
Ian
> >
> > - Arnaldo
> >
> > Arnaldo Carvalho de Melo (2):
> > perf bpf: Move the LIBBPF_CURRENT_VERSION_GEQ macro to bpf-utils.h
> > perf bpf: Check libbpf version to use
> > btf_dump_type_data_opts.emit_strings
>
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
>
> Thanks,
> Namhyung
>
> >
> > tools/perf/util/bpf-event.c | 2 ++
> > tools/perf/util/bpf-filter.c | 5 +----
> > tools/perf/util/bpf-utils.h | 5 +++++
> > 3 files changed, 8 insertions(+), 4 deletions(-)
> >
> > --
> > 2.51.0
> >