Messages in this thread | | | From | Andrii Nakryiko <> | Date | Tue, 5 Jul 2022 22:08:16 -0700 | Subject | Re: [PATCHv2] perf tools: Convert legacy map definition to BTF-defined |
| |
On Mon, Jul 4, 2022 at 8:27 AM Jiri Olsa <jolsa@kernel.org> 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@kernel.org/ > Signed-off-by: Jiri Olsa <jolsa@kernel.org> > ---
LGTM. Thanks for taking care of this!
Acked-by: Andrii Nakryiko <andrii@kernel.org>
> tools/perf/tests/bpf-script-example.c | 35 ++++++++++++++++++--------- > tools/perf/util/llvm-utils.c | 2 +- > 2 files changed, 24 insertions(+), 13 deletions(-) >
[...]
| |