This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
build bpfd failed #51
Comments
Could you let me know your usecase for bpfd?
…On Mon, Jun 11, 2018, 10:31 PM Steven Miao ***@***.***> wrote:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#51>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACSVIS0_viEerI_IxLRWmR-0UMknxw5ks5t71I1gaJpZM4UjzNv>
.
|
Hi Joel, I'm interested in epbf, and want to try this powerful tool on hikey960 board. Now It can pass the build after tweak the ‘struct perf_reader’. |
Since hikey runs Android, please check out the androdeb project. It is more
suitable than bpfd for running bcc on Android.
…On Wed, Jun 13, 2018, 1:56 AM Steven Miao ***@***.***> wrote:
Hi Joel,
I'm interested in epbf, and want to try this powerful tool on hikey960
board. Now It can pass the build after tweak the ‘struct perf_reader’.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#51 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACSVLXp45v6i92hfoDwQqLQQkGhWESUks5t8NOsgaJpZM4UjzNv>
.
|
Thanks Joel, androdeb chroot run debian is very cool, just several commands to run BCC on android file system. And bpfd can work as well. |
Yes. And patches to androdeb are welcome ofcourse!
…On Fri, Jun 15, 2018 at 12:37 AM, Steven Miao ***@***.***> wrote:
Thanks Joel, androdeb chroot run debian is very cool, just several
commands to run BCC on android file system. And bpfd can work as well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#51 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACSVPATdChIje7swLxvSa7z1k3TltAhks5t82Q9gaJpZM4UjzNv>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: