Skip to content

tools headers: Sync header files with the kernel

Namhyung Kim kvm linux-arch linux-fsdevel linux-perf-users linux-sound linux-tegra lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tools headers: Update the KVM headers with the kernel sourcestools/arch/arm64/include/uapi/asm/kvm.h tools/arch/x86/include/uapi/asm/kvm.h tools/arch/x86/include/uapi/asm/svm.h +1 more+13 -70 replies
2/10tools headers: Update the socket headers with the kernel sourcestools/include/uapi/linux/in.h tools/perf/trace/beauty/include/linux/socket.h+4 -00 replies
3/10tools headers: Update the uapi/linux/perf_event.h copy with the kernel sourcestools/include/uapi/linux/perf_event.h+2 -00 replies
4/10tools headers: Update the VFS headers with the kernel sourcestools/include/uapi/linux/stat.h tools/perf/trace/beauty/include/uapi/linux/fcntl.h tools/perf/trace/beauty/include/uapi/linux/fs.h +2 more+179 -540 replies
5/10tools headers: Update the syscall table with the kernel sourcestools/arch/arm64/include/uapi/asm/unistd.h tools/include/uapi/asm-generic/unistd.h tools/perf/arch/arm/entry/syscalls/syscall.tbl +9 more+15 -255 replies
6/10tools headers: Update the uapi/linux/prctl.h copy with the kernel sourcestools/perf/trace/beauty/include/uapi/linux/prctl.h+11 -00 replies
7/10tools headers: Update the uapi/asm-generic/mman-common.h copy with the kernel sourcestools/include/uapi/asm-generic/mman-common.h+1 -00 replies
8/10tools headers: Update the linux/unaligned.h copy with the kernel sourcestools/perf/trace/beauty/include/uapi/sound/asound.h+6 -20 replies
9/10tools headers: Update the x86 headers with the kernel sourcestools/arch/x86/include/asm/cpufeatures.h tools/arch/x86/include/asm/msr-index.h+39 -200 replies
10/10tools headers: Update the arch/x86/lib/memset_64.S copy with the kernel sourcestools/arch/x86/lib/memset_64.S tools/include/linux/cfi_types.h tools/perf/check-headers.sh+48 -10 replies

Reviews trailers per patch

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

PatchIngo MolnarVenkat Rao BagalkoteJon Hunter
SeriesA-b T-b
1/10
2/10
3/10
4/10
5/10T-b
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCHSET 00/10] tools headers: Sync header files with the kernel

Hello,

FYI I'm carrying these changes in the perf tools tree so make perf trace beautifiers get the recent changes in syscall, ioctl, and so on. For the background, please see tools/include/uapi/README.

Still there are some remaining items but it requires a bit more changes. So I'd like to leave them for the next cycle.

Warning: Kernel ABI header differences:
diff -u tools/include/uapi/linux/bits.h include/uapi/linux/bits.h diff -u tools/include/linux/bits.h include/linux/bits.h
diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h

Thanks,
Namhyung

Namhyung Kim (10):
tools headers: Update the KVM headers with the kernel sources
tools headers: Update the socket headers with the kernel sources
tools headers: Update the uapi/linux/perf_event.h copy with the kernel sources tools headers: Update the VFS headers with the kernel sources
tools headers: Update the syscall table with the kernel sources
tools headers: Update the uapi/linux/prctl.h copy with the kernel sources tools headers: Update the uapi/asm-generic/mman-common.h copy with the kernel sources tools headers: Update the linux/unaligned.h copy with the kernel sources tools headers: Update the x86 headers with the kernel sources
tools headers: Update the arch/x86/lib/memset_64.S copy with the kernel sources

 tools/arch/arm64/include/uapi/asm/kvm.h       |  5 +-
 tools/arch/arm64/include/uapi/asm/unistd.h    | 24 +----
 tools/arch/x86/include/asm/cpufeatures.h      | 28 ++++--
 tools/arch/x86/include/asm/msr-index.h        | 31 +++---
 tools/arch/x86/include/uapi/asm/kvm.h         |  4 +
 tools/arch/x86/include/uapi/asm/svm.h         |  2 +
 tools/arch/x86/lib/memset_64.S                |  3 +-
 tools/include/linux/cfi_types.h               | 45 +++++++++
 tools/include/uapi/asm-generic/mman-common.h  |  1 +
 tools/include/uapi/asm-generic/unistd.h       |  4 +-
 tools/include/uapi/linux/in.h                 |  2 +
 tools/include/uapi/linux/kvm.h                |  9 +-
 tools/include/uapi/linux/perf_event.h         |  2 +
 tools/include/uapi/linux/stat.h               | 99 ++++++++++++++-----
 .../perf/arch/arm/entry/syscalls/syscall.tbl  |  1 +
 .../arch/mips/entry/syscalls/syscall_n64.tbl  |  1 +
 .../arch/powerpc/entry/syscalls/syscall.tbl   |  1 +
 .../perf/arch/s390/entry/syscalls/syscall.tbl |  1 +
 tools/perf/arch/sh/entry/syscalls/syscall.tbl |  1 +
 .../arch/sparc/entry/syscalls/syscall.tbl     |  1 +
 .../arch/x86/entry/syscalls/syscall_32.tbl    |  3 +-
 .../arch/x86/entry/syscalls/syscall_64.tbl    |  1 +
 .../arch/xtensa/entry/syscalls/syscall.tbl    |  1 +
 tools/perf/check-headers.sh                   |  1 +
 .../perf/trace/beauty/include/linux/socket.h  |  2 +
 .../trace/beauty/include/uapi/linux/fcntl.h   |  4 +
 .../perf/trace/beauty/include/uapi/linux/fs.h | 21 +++-
 .../trace/beauty/include/uapi/linux/mount.h   | 10 +-
 .../trace/beauty/include/uapi/linux/prctl.h   | 11 +++
 .../trace/beauty/include/uapi/linux/stat.h    | 99 ++++++++++++++-----
 .../trace/beauty/include/uapi/sound/asound.h  |  8 +-
 tools/scripts/syscall.tbl                     |  1 +
 32 files changed, 318 insertions(+), 109 deletions(-)
 create mode 100644 tools/include/linux/cfi_types.h

base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8

Signature · 1 line
2.49.0.504.g3bcea36a83-goog