]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Stop using bpf_object__open_buffer() API
authorChristy Lee <christylee@fb.com>
Tue, 25 Jan 2022 00:59:23 +0000 (16:59 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 25 Jan 2022 04:44:09 +0000 (20:44 -0800)
commitbdf30599bba5994551c6f577f56d1a1677094911
tree6f0bdbb93977abd45c233fcfc05c95ad3d3d6523
parente287eec9628837bf3440cc870cb63a97e0641fc7
perf: Stop using bpf_object__open_buffer() API

bpf_object__open_buffer() API is deprecated, use the unified opts
bpf_object__open_mem() API in perf instead. This requires at least
libbpf 0.0.6.

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220125005923.418339-3-christylee@fb.com
tools/perf/tests/llvm.c
tools/perf/util/bpf-loader.c