提交 db42a21a 编写于 作者: J Jakub Kicinski 提交者: Daniel Borkmann

tools: include reallocarray feature test in FEATURE_TESTS_BASIC

perf propagates its feature check results to libbpf.  This means
features for which perf probes must be a superset of libbpf's
required features.  perf depends on FEATURE_TESTS_BASIC for its list
of features.

commit 531b014e ("tools: bpf: make use of reallocarray") added
reallocarray use to libbpf, make perf also perform the reallocarray
feature check.

Fixes: 531b014e ("tools: bpf: make use of reallocarray")
Reported-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
Tested-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
上级 d23b27c0
......@@ -57,6 +57,7 @@ FEATURE_TESTS_BASIC := \
libunwind-aarch64 \
pthread-attr-setaffinity-np \
pthread-barrier \
reallocarray \
stackprotector-all \
timerfd \
libdw-dwarf-unwind \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册