diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-07-13 22:08:59 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-14 04:38:48 -0400 |
commit | db42a21a1e8d11a30a06050281c2723ec78b63a7 (patch) | |
tree | f1361b7b91d8ea7616f1e31b10df7c540588350a | |
parent | d23b27c02f03438ac1867b4b6a484b92f536bd28 (diff) |
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 531b014e7a2f ("tools: bpf: make use of reallocarray") added
reallocarray use to libbpf, make perf also perform the reallocarray
feature check.
Fixes: 531b014e7a2f ("tools: bpf: make use of reallocarray")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rw-r--r-- | tools/build/Makefile.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature index 5b6dda3b1ca8..f216b2f5c3d7 100644 --- a/tools/build/Makefile.feature +++ b/tools/build/Makefile.feature | |||
@@ -57,6 +57,7 @@ FEATURE_TESTS_BASIC := \ | |||
57 | libunwind-aarch64 \ | 57 | libunwind-aarch64 \ |
58 | pthread-attr-setaffinity-np \ | 58 | pthread-attr-setaffinity-np \ |
59 | pthread-barrier \ | 59 | pthread-barrier \ |
60 | reallocarray \ | ||
60 | stackprotector-all \ | 61 | stackprotector-all \ |
61 | timerfd \ | 62 | timerfd \ |
62 | libdw-dwarf-unwind \ | 63 | libdw-dwarf-unwind \ |