Re: [PATCH bpf-next] tools/runqslower: ensure own vmlinux.h is picked up first

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

 



On Tue, Apr 21, 2020 at 6:24 PM Andrii Nakryiko <andriin@xxxxxx> wrote:
>
> Reorder include paths to ensure that runqslower sources are picking up
> vmlinux.h, generated by runqslower's own Makefile. When runqslower is built
> from selftests/bpf, due to current -I$(BPF_INCLUDE) -I$(OUTPUT) ordering, it
> might pick up not-yet-complete vmlinux.h, generated by selftests Makefile,
> which could lead to compilation errors like [0]. So ensure that -I$(OUTPUT)
> goes first and rely on runqslower's Makefile own dependency chain to ensure
> vmlinux.h is properly completed before source code relying on it is compiled.
>
>   [0] https://travis-ci.org/github/libbpf/libbpf/jobs/677905925
>
> Signed-off-by: Andrii Nakryiko <andriin@xxxxxx>

Applied to bpf tree. Thanks



[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