Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fill tail call map entries at userspace #447

Open
pvvm opened this issue Nov 13, 2024 · 1 comment
Open

How to fill tail call map entries at userspace #447

pvvm opened this issue Nov 13, 2024 · 1 comment

Comments

@pvvm
Copy link

pvvm commented Nov 13, 2024

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?

@tohojo
Copy link
Member

tohojo commented Nov 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants