The btf__load_from_kernel_by_id() only takes one arg, not two.
Committer notes:
I tested it just with an older libbpf, one where
btf__load_from_kernel_by_id() wasn't introduced yet.
A test with a newer dynamic libbpf would fail because the
btf__load_from_kernel_by_id() is there, but takes just one arg.
Fixes:
|
||
|---|---|---|
| .. | ||
| Documentation | ||
| feature | ||
| tests | ||
| .gitignore | ||
| Build | ||
| Build.include | ||
| fixdep.c | ||
| Makefile | ||
| Makefile.build | ||
| Makefile.feature | ||
| Makefile.include | ||