Skip to content

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

Open
@DanPartelly

Description

@DanPartelly

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions