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

Remove lost_cb callback for remote_perf_reader #45

Closed jcanseco closed 6 years ago

jcanseco commented 6 years ago

Some BCC tools pass NULL for the lost_cb parameter in bpf_open_perf_buffer(), which suggest that it is fine (and probably preferable) if we pass NULL for the lost_cb callback instead of passing in a callback function that does nothing.

Signed-off-by: Jazel Canseco jcanseco@google.com