libbpfgo icon indicating copy to clipboard operation
libbpfgo copied to clipboard

Print debug messages if debug flag was chosen

Open yanivagman opened this issue 4 years ago • 1 comments

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

yanivagman avatar Jan 27 '21 17:01 yanivagman

Duplicate of: https://github.com/aquasecurity/libbpfgo/issues/55 Related: https://github.com/aquasecurity/libbpfgo/issues/188

rafaeldtinoco avatar Jul 24 '22 02:07 rafaeldtinoco

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.

geyslan avatar Feb 01 '23 14:02 geyslan