joelagnel / bpfd

BPFd (Deprecated, please see README.md) : Berkeley Packet Filter daemon (BPFd). Makes it possible to run BCC tools across systems.
Apache License 2.0
95 stars 23 forks source link

Fetch kernel version in BCC and pass to remote (BCC side issue) #13

Closed joelagnel closed 6 years ago

joelagnel commented 6 years ago

Currently the kernel version passed to bpf_prog_load from the BCC host is hardcoded and passed to the remote BPFd using the -k option. This is a horrible hack, fix it.

https://github.com/joelagnel/bcc/blob/bcc-bpfd/src/python/bcc/remote/adb.py#L40

jcanseco commented 6 years ago

We should close this issue. We investigated this in person and it turned out to not be an issue.

I will put up a PR soon that removes the -k flag handling on BPFd since it's no longer needed.