perf build: Allow explicitely disabling the NO_SYSCALL_TABLE variable
Arnaldo Carvalho de Melo authored
This is useful to see if, on x86, the legacy libaudit still works, as it
is used in architectures that don't have the SYSCALL_TABLE logic and we
want to have it tested in 'make -C tools/perf/ build-test'.

E.g.:

Without having audit-libs-devel installed:

  $ make NO_SYSCALL_TABLE=1 O=/tmp/build/perf -C tools/perf install-bin
  make: Entering directory '/home/acme/git/perf/tools/perf'
    BUILD:   Doing 'make -j12' parallel build
  <SNIP>
  Auto-detecting system features:
  <SNIP>
  ...                      libaudit: [ OFF ]
  ...                        libbfd: [ on  ]
  ...                        libcap: [ on  ]
  <SNIP>
  Makefile.config:664: No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev
  <SNIP>

After installing it:

  $ rm -rf /tmp/build/perf ; mkdir -p /tmp/build/perf
  $ time make NO_SYSCALL_TABLE=1 O=/tmp/build/perf  -C tools/perf install-bin ; perf test python
  make: Entering dire...
43de3869
Name Last commit Last update
..
accounting Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx
arch tools arch x86: Sync asm/cpufeatures.h with the kernel sources
bootconfig tools/bootconfig: Fix apply_xbc() to return zero on success
bpf tools/runqslower: Ensure own vmlinux.h is picked up first
build perf: cs-etm: Update to build with latest opencsd version.
cgroup iocost: protect iocg->abs_vdebt with iocg->waitq.lock
debugging tools: add a kernel-chktaint to tools/debugging
edid tools/edid: Move EDID data sets from Documentation/
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
firmware Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
gpio Merge tag 'gpio-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
hv Tools: hv: Reopen the devices if read() or write() returns errors
iio .gitignore: add SPDX License Identifier
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
io_uring tools/io_uring: sync with liburing
kvm/kvm_stat tools/kvm_stat: add command line switch '-c' to log in csv format
laptop change email address for Pali Rohár
leds .gitignore: add SPDX License Identifier
lib Merge tag 'v5.7-rc7' into perf/core, to pick up fixes
memory-model .gitignore: add SPDX License Identifier
nfsd License cleanup: add SPDX GPL-2.0 license identifier to files with no license
objtool Merge tag 'x86-urgent-2020-05-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
pci tools: PCI: Add 'e' to clear IRQ
pcmcia .gitignore: add SPDX License Identifier
perf perf build: Allow explicitely disabling the NO_SYSCALL_TABLE variable
power
scripts
spi
testing
thermal/tmon
time
usb
virtio
vm
wmi
Makefile