Em Tue, Jul 05, 2022 at 10:08:16PM -0700, Andrii Nakryiko escreveu: > On Mon, Jul 4, 2022 at 8:27 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > > > The libbpf is switching off support for legacy map definitions [1], > > which will break the perf llvm tests. > > > > Moving the base source map definition to BTF-defined, so we need > > to use -g compile option for to add debug/BTF info. > > > > [1] https://lore.kernel.org/bpf/20220627211527.2245459-1-andrii@xxxxxxxxxx/ > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > > --- > > LGTM. Thanks for taking care of this! > > Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> Thanks, applied. - Arnaldo > > tools/perf/tests/bpf-script-example.c | 35 ++++++++++++++++++--------- > > tools/perf/util/llvm-utils.c | 2 +- > > 2 files changed, 24 insertions(+), 13 deletions(-) > > > > [...] -- - Arnaldo