Re: [PATCH v11 bpf-next 10/10] selftests/bpf: tests for using dynptrs to parse skb and xdp buffers

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

 



On Tue, Feb 21, 2023 at 10:07:47PM -0800, Joanne Koong wrote:
>  
> -SEC("tp/syscalls/sys_enter_nanosleep")
> +SEC("tracepoint/syscalls/sys_enter_nanosleep")

Not sure what this was for, but s390 tests are failing:
libbpf: prog 'test_read_write': can't attach BPF program w/o FD (did you load it?)
libbpf: prog 'test_read_write': failed to attach to tracepoint 'syscalls/sys_enter_nanosleep': Invalid argument
verify_success:FAIL:bpf_program__attach unexpected error: -22
Please see:
https://github.com/kernel-patches/bpf/actions/runs/4240181429/jobs/7374285371

> +extern int bpf_dynptr_from_skb(struct __sk_buff *skb, __u64 flags,
> +			       struct bpf_dynptr *ptr__uninit) __ksym;
> +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u32 offset,
> +			      void *buffer, __u32 buffer__sz) __ksym;

Please move it to some common header like bpf_experimental.h or any other.



[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