Skip to content

perf build: Update kernel headers

Namhyung Kim linux-fsdevel linux-perf-users lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyIn review
  2. v27 patches 0 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf trace: Sync linux/socket.h with the kernel sourcetools/perf/trace/beauty/include/linux/socket.h+1 -10 replies
2/7perf trace: Sync uapi/linux/fs.h with the kernel sourcetools/perf/trace/beauty/include/uapi/linux/fs.h+12 -00 replies
3/7perf trace: Sync uapi/linux/mount.h with the kernel sourcetools/perf/trace/beauty/include/uapi/linux/mount.h+1 -00 replies
4/7perf trace: Sync uapi/linux/sched.h with the kernel sourcetools/perf/trace/beauty/include/uapi/linux/sched.h+15 -20 replies
5/7perf build: Add make check-headers targettools/perf/Makefile tools/perf/Makefile.perf+4 -20 replies
6/7perf trace: Add beautifier script for fsmount flagstools/perf/Makefile.perf tools/perf/builtin-trace.c tools/perf/trace/beauty/beauty.h +3 more+56 -150 replies
7/7perf trace: Update beautifier script for clone flagstools/perf/trace/beauty/clone.sh+4 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan Rogers
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] perf build: Update kernel headers

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.

Due to the header file changes, some beautifier scripts for perf trace are updated too. This was detected by Sashiko.

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 (7):
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
perf trace: Add beautifier script for fsmount flags perf trace: Update beautifier script for clone flags

 tools/perf/Makefile                           |  5 ++++-
 tools/perf/Makefile.perf                      |  9 +++++++-
 tools/perf/builtin-trace.c                    |  9 +++-----
 tools/perf/trace/beauty/beauty.h              |  3 +++
 tools/perf/trace/beauty/clone.sh              |  4 ++++
 tools/perf/trace/beauty/fsmount.c             | 18 ++++++++++++++-
 tools/perf/trace/beauty/fsmount.sh            | 11 +++-------
 tools/perf/trace/beauty/fsmount_attr.sh       | 22 +++++++++++++++++++
 .../perf/trace/beauty/include/linux/socket.h  |  2 +-
 .../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 ++++++++++++--
 12 files changed, 93 insertions(+), 20 deletions(-)
 create mode 100644 tools/perf/trace/beauty/fsmount_attr.sh
Signature · 1 line
2.54.0