You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change starts a rework of the way we check for potential errors
reported from libbpf functions. Instead of relying on the weird
create_bpf_entity_checked() helper which works on a closure, introduce
validate_bpf_ret(). Having an explicit call means that we can
contextualize errors. So on top of getting rid of various hard-to-parse
(for humans) closures and potentially nested error mapping, we will
report better error chains.
As a first step, get rid of usage of create_bpf_entity_checked_opt()
from btf/mod.rs.
Signed-off-by: Daniel Müller <[email protected]>
0 commit comments