Closed jcanseco closed 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
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