Merge pull request #1 from aquarhead/fix-load-file

Fix Bpf::load_file when BTF doesn't exist
pull/3/head
Alessandro Decina 3 years ago committed by GitHub
commit cdc737490d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,7 +87,7 @@ impl Bpf {
path: path.to_owned(),
error,
})?,
Some(Btf::from_sys_fs()?),
Btf::from_sys_fs().ok(),
)
}

Loading…
Cancel
Save