tools headers: Remove now unused copies of uapi/{fcntl,openat2}.h and asm/fcntl.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Mar 2024 19:18:14 +0000 (16:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 21 Mar 2024 13:41:27 +0000 (10:41 -0300)
commit8a1ad4413519b10fbe5e73300b198498a0b28806
tree2088a9da60d27f4f781022d5028efccfd78eeeb0
parent6652830c87be8446a0e9b47f83af8990fee2f274
tools headers: Remove now unused copies of uapi/{fcntl,openat2}.h and asm/fcntl.h

These were used to build perf to provide defines not available in older
distros, but this was back in 2017, nowadays all the distros that are
supported and I have build containers for work using just the system
headers, so ditch them.

Some of these older distros may not have things that are used in 'perf
trace', but then they also don't have libtraceevent packages, so don't
build 'perf trace'.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/20240315204835.748716-5-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/asm-generic/fcntl.h [deleted file]
tools/include/uapi/linux/fcntl.h [deleted file]
tools/include/uapi/linux/openat2.h [deleted file]
tools/perf/check-headers.sh