GSoC: Way to get bpf obj

SuHsueyu anolasc13 at gmail.com
Thu Aug 25 16:16:39 UTC 2022


Hello, I'm trying to retrieve info in BPF_MAP_UPDATE_ELEM. And I have
noticed that the function fetch_bpf_obj_info is used to fetch info but
not using the bpf syscall. I want to ask if it is right choice to
retrieve the BPF obj info by using syscall bpf BPF_OBJ_GET_INFO_BY_FD?
Or should I just use the function fetch_bpf_obj_info?


More information about the Strace-devel mailing list