lkml.org 
[lkml]   [2022]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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(-)
>

[...]

\
 
 \ /
  Last update: 2022-07-06 07:08    [W:0.074 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site