Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

build bpfd failed #51

@realmz

Description

@realmz

I followed the steps in INSTALL document to build bpfd on ubuntu 16.04 host

[ 80%] Building C object CMakeFiles/bpfd.dir/src/remote_perf_reader.c.o
/home/stemia01/temp/bpfd/src/remote_perf_reader.c: In function ‘remote_raw_reader_cb’:
/home/stemia01/temp/bpfd/src/remote_perf_reader.c:50:66: error: dereferencing pointer to incomplete type ‘struct perf_reader’
printf("raw_cb: b64 encode failed for reader fd=%d\n", reader->fd);
^
/home/stemia01/temp/bpfd/src/remote_perf_reader.c: In function ‘bpf_remote_open_perf_buffer’:
/home/stemia01/temp/bpfd/src/remote_perf_reader.c:68:1: warning: control reaches end of non-void function [-Wreturn-type]
}

It seems missing struct perf_reader definition in bcc-deps/perf_reader.h?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions