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
Hello,
I was trying to fill a BPF_MAP_TYPE_PROG_ARRAY map in userspace to execute tail calls.
However, after loading and attaching the caller and callee eBPF functions, retrieving the file descriptor of the map, and updating its entry with the callee program's file descriptor, a "Killed" message is printed. bpf_map_update_elem(tail_map_fd, &key, &callee_prog_fd, 0));
Am I missing anything?
The text was updated successfully, but these errors were encountered:
Hello,
I was trying to fill a BPF_MAP_TYPE_PROG_ARRAY map in userspace to execute tail calls.
However, after loading and attaching the caller and callee eBPF functions, retrieving the file descriptor of the map, and updating its entry with the callee program's file descriptor, a "Killed" message is printed.
`bpf_map_update_elem(tail_map_fd, &key, &callee_prog_fd, 0));`
Am I missing anything?
A "killed" message, as in the whole userspace application is killed?
That sounds like a segmentation fault, not a BPF-specific error. A
debugger should be able to shed some light on where that is coming from...
Hello,
I was trying to fill a BPF_MAP_TYPE_PROG_ARRAY map in userspace to execute tail calls.
However, after loading and attaching the caller and callee eBPF functions, retrieving the file descriptor of the map, and updating its entry with the callee program's file descriptor, a "Killed" message is printed.
bpf_map_update_elem(tail_map_fd, &key, &callee_prog_fd, 0));
Am I missing anything?
The text was updated successfully, but these errors were encountered: