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

Please update bpftool submodule snapshoot, it renders bpftime uncompilable #372

Open
DanPartelly opened this issue Feb 24, 2025 · 0 comments

Comments

@DanPartelly
Copy link

When compiling with -Werror, the bundled ebpftool submodule contains the bug below, it was fixed upstream some time ago. Please consider updating it.

prog.c: In function ‘profile_open_perf_events’:
prog.c:2297:24: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
sizeof(int), obj->rodata->num_cpu * obj->rodata->num_metric);

@DanPartelly DanPartelly changed the title Please update bpftool submodule template, it renders bpftime uncompilable Please update bpftool submodule snapshoot, it renders bpftime uncompilable Feb 24, 2025
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

1 participant