Re: [PATCH bpf-next] selftests/bpf: Remove intermediate test files.

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

 




On 2/20/24 3:11 PM, Alexei Starovoitov wrote:
From: Alexei Starovoitov <ast@xxxxxxxxxx>

The test of linking process creates several intermediate files.
Remove them once the build is over.
This reduces the number of files in selftests/bpf/ directory
from ~4400 to ~2600.

Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>

It looks like some light skeleton *llinked*.o files left.
  [~/work/bpf-next/tools/testing/selftests/bpf (master)]$ ls *linked1*
  atomics.bpf.llinked1.o             fexit_sleep.bpf.llinked1.o              map_ptr_kern.bpf.llinked1.o       test_ringbuf_map_key.bpf.llinked1.o
  core_kern.bpf.llinked1.o           fexit_test.bpf.llinked1.o               test_ksyms_module.bpf.llinked1.o  test_static_linked1.bpf.o
  core_kern_overflow.bpf.llinked1.o  kfunc_call_test.bpf.llinked1.o          test_ksyms_weak.bpf.llinked1.o    trace_printk.bpf.llinked1.o
  fentry_test.bpf.llinked1.o         kfunc_call_test_subprog.bpf.llinked1.o  test_ringbuf.bpf.llinked1.o       trace_vprintk.bpf.llinked1.o
  [~/work/bpf-next/tools/testing/selftests/bpf (master)]$

All of them from:
  LSKELS := fentry_test.c fexit_test.c fexit_sleep.c atomics.c            \
        trace_printk.c trace_vprintk.c map_ptr_kern.c                   \
        core_kern.c core_kern_overflow.c test_ringbuf.c                 \
        test_ringbuf_map_key.c
  LSKELS_EXTRA := test_ksyms_module.c test_ksyms_weak.c kfunc_call_test.c \
        kfunc_call_test_subprog.c

Considering we only have limited light skeletons, so it should not be a problem. So

Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx>





[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