diff options
author | Jiri Olsa <[email protected]> | 2022-05-24 14:06:12 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-05-26 11:02:02 -0300 |
commit | 73534617dfa3c4cd95fe5ffaeff5315e9ffc2de6 (patch) | |
tree | 302a188fad55f78bcffa0a024da65a67e55ef4a5 /lib/mpi/mpi-add.c | |
parent | babf0bb978e3c9fce6c4eba6b744c8754fd43d8e (diff) |
perf build: Fix btf__load_from_kernel_by_id() feature check
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: 0ae065a5d265bc5a ("perf build: Fix check for btf__load_from_kernel_by_id() in libbpf")
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ilya Leoshkevich <[email protected]>
Cc: Sumanth Korikkar <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Link: http://lore.kernel.org/linux-perf-users/YozLKby7ITEtchC9@krava
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions