Re: [PATCHv2] perf tools: Convert legacy map definition to BTF-defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

>  tools/perf/tests/bpf-script-example.c | 35 ++++++++++++++++++---------
>  tools/perf/util/llvm-utils.c          |  2 +-
>  2 files changed, 24 insertions(+), 13 deletions(-)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux