libbpfgo
libbpfgo copied to clipboard
Print debug messages if debug flag was chosen
We currently only print libbpf messages which have WARN level. If debug flag was given, we should also print debug messages from libbpf.
Example: https://github.com/libbpf/libbpf-bootstrap/blob/master/src/bootstrap.c#L62
Duplicate of: https://github.com/aquasecurity/libbpfgo/issues/55 Related: https://github.com/aquasecurity/libbpfgo/issues/188
This is being tackled, in part, by https://github.com/aquasecurity/libbpfgo/pull/284, via filtering callbacks. It's up to the consumers to define the filtering they want.