[PATCH 0/5] move more stuff to trace/beauty

From: Arnaldo Carvalho de Melo
Date: Fri Mar 15 2024 - 16:53:36 EST


Hi Ian,

I have those in the tmp.perf-tools-next branch, please take a
look to see if you spot any problem.

Thanks,

- Arnaldo

Arnaldo Carvalho de Melo (5):
perf beauty: Stop using the copy of uapi/linux/prctl.h
perf beauty: Move prctl.h files (uapi/linux and x86's) copy out of the
directory used to build perf
perf beauty: Use the system linux/fcntl.h instead of a copy from the
kernel
tools headers: Remove now unused copies of uapi/{fcntl,openat2}.h and
asm/fcntl.h
tools headers: Remove almost unused copy of uapi/stat.h, add few
conditional defines

tools/include/uapi/asm-generic/fcntl.h | 221 ------------------
tools/include/uapi/linux/fcntl.h | 123 ----------
tools/include/uapi/linux/openat2.h | 43 ----
tools/include/uapi/linux/stat.h | 195 ----------------
tools/perf/Makefile.perf | 11 +-
tools/perf/check-headers.sh | 7 +-
.../beauty}/arch/x86/include/uapi/asm/prctl.h | 0
tools/perf/trace/beauty/fcntl.c | 2 +-
tools/perf/trace/beauty/flock.c | 2 +-
.../trace/beauty}/include/uapi/linux/prctl.h | 0
tools/perf/trace/beauty/prctl.c | 2 +-
tools/perf/trace/beauty/prctl_option.sh | 6 +-
tools/perf/trace/beauty/statx.c | 14 +-
tools/perf/trace/beauty/x86_arch_prctl.sh | 4 +-
14 files changed, 27 insertions(+), 603 deletions(-)
delete mode 100644 tools/include/uapi/asm-generic/fcntl.h
delete mode 100644 tools/include/uapi/linux/fcntl.h
delete mode 100644 tools/include/uapi/linux/openat2.h
delete mode 100644 tools/include/uapi/linux/stat.h
rename tools/{ => perf/trace/beauty}/arch/x86/include/uapi/asm/prctl.h (100%)
rename tools/{ => perf/trace/beauty}/include/uapi/linux/prctl.h (100%)

--
2.43.2