Skip to content

Commit 5bc7aac

Browse files
committed
perf build: Add NO_SYSCALL_TABLE=1 to the build tests
So that we make sure that even on x86-64 and other architectures where that is the default method we test build the fallback to libaudit that other architectures use. I.e. now this line got added to: $ make -C tools/perf build-test <SNIP> make_no_syscall_tbl_O: cd . && make NO_SYSCALL_TABLE=1 FEATURES_DUMP=/home/acme/git/perf/tools/perf/BUILD_TEST_FEATURE_DUMP -j12 O=/tmp/tmp.W0HtKR1mfr DESTDIR=/tmp/tmp.lNezgCVPzW <SNIP> $ Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent a88f70d commit 5bc7aac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • tools/perf/tests

‎tools/perf/tests/make‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ make_no_libbpf_DEBUG := NO_LIBBPF=1 DEBUG=1
8888
make_no_libcrypto := NO_LIBCRYPTO=1
8989
make_with_babeltrace:= LIBBABELTRACE=1
9090
make_no_sdt := NO_SDT=1
91+
make_no_syscall_tbl := NO_SYSCALL_TABLE=1
9192
make_with_clangllvm := LIBCLANGLLVM=1
9293
make_tags := tags
9394
make_cscope := cscope
@@ -113,7 +114,7 @@ make_minimal += NO_DEMANGLE=1 NO_LIBELF=1 NO_LIBUNWIND=1 NO_BACKTRACE=1
113114
make_minimal += NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1
114115
make_minimal += NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1 NO_LIBBPF=1
115116
make_minimal += NO_LIBCRYPTO=1 NO_SDT=1 NO_JVMTI=1 NO_LIBZSTD=1
116-
make_minimal += NO_LIBCAP=1
117+
make_minimal += NO_LIBCAP=1 NO_SYSCALL_TABLE=1
117118

118119
# $(run) contains all available tests
119120
run := make_pure
@@ -146,6 +147,7 @@ run += make_no_libbionic
146147
run += make_no_auxtrace
147148
run += make_no_libbpf
148149
run += make_no_libbpf_DEBUG
150+
run += make_no_syscall_tbl
149151
run += make_with_babeltrace
150152
run += make_with_clangllvm
151153
run += make_help

0 commit comments

Comments
 (0)