[PATCH 0/5] perf build: Update kernel headers

From: Namhyung Kim

Date: Sun May 03 2026 - 15:32:32 EST


Hello,

This is to update copy of kernel headers for v7.1. I've updated ones
in the tools/perf/trace/beauty/ and left others which seem not to
affect perf syscall beautifiers. This is suggested by Linus to avoid
unnecessary builds of objtool and the kernel.

There are AMD IBS changes that are directly related to perf, but I
think Ravi is working on it with other Zen6 changes. So I didn't
include it here.

Also I removed the header difference output in the default perf build
and added a new make target to check it explicitly.

Thanks,
Namhyung


Namhyung Kim (5):
perf trace: Sync linux/socket.h with the kernel source
perf trace: Sync uapi/linux/fs.h with the kernel source
perf trace: Sync uapi/linux/mount.h with the kernel source
perf trace: Sync uapi/linux/sched.h with the kernel source
perf build: Add make check-headers target

tools/perf/Makefile | 3 +++
tools/perf/Makefile.perf | 1 -
tools/perf/trace/beauty/include/linux/socket.h | 2 +-
tools/perf/trace/beauty/include/uapi/linux/fs.h | 12 ++++++++++++
.../trace/beauty/include/uapi/linux/mount.h | 1 +
.../trace/beauty/include/uapi/linux/sched.h | 17 +++++++++++++++--
6 files changed, 32 insertions(+), 4 deletions(-)

--
2.53.0