You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@DESKTOP-H3MBKRR:/home/lys/work/bpf# sudo bpftool prog load hello.o tracepoint
Error: can't mount BPF file system to pin the object (tracepoint): mount --make-private . failed: Invalid argument
is bpftool bug?
The text was updated successfully, but these errors were encountered:
I don't think so. It looks like you're trying to pin the program in your current working directory, and bpftool fails to mount it as a virtual BPF file system (which is expected).
You probably have a BPF file system mounted already, usually at /sys/fs/bpf/:
$ mount | grep bpfnone on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
is bpftool bug?
The text was updated successfully, but these errors were encountered: