linux-stable/tools/perf/trace/beauty
Namhyung Kim fd2ddee727 tools headers: Update tools's copy of socket.h header
tldr; Just FYI, I'm carrying this on the perf tools tree.

Full explanation:

There used to be no copies, with tools/ code using kernel headers
directly. From time to time tools/perf/ broke due to legitimate kernel
hacking. At some point Linus complained about such direct usage. Then we
adopted the current model.

The way these headers are used in perf are not restricted to just
including them to compile something.

There are sometimes used in scripts that convert defines into string
tables, etc, so some change may break one of these scripts, or new MSRs
may use some different #define pattern, etc.

E.g.:

  $ ls -1 tools/perf/trace/beauty/*.sh | head -5
  tools/perf/trace/beauty/arch_errno_names.sh
  tools/perf/trace/beauty/drm_ioctl.sh
  tools/perf/trace/beauty/fadvise.sh
  tools/perf/trace/beauty/fsconfig.sh
  tools/perf/trace/beauty/fsmount.sh
  $
  $ tools/perf/trace/beauty/fadvise.sh
  static const char *fadvise_advices[] = {
        [0] = "NORMAL",
        [1] = "RANDOM",
        [2] = "SEQUENTIAL",
        [3] = "WILLNEED",
        [4] = "DONTNEED",
        [5] = "NOREUSE",
  };
  $

The tools/perf/check-headers.sh script, part of the tools/ build
process, points out changes in the original files.

So its important not to touch the copies in tools/ when doing changes in
the original kernel headers, that will be done later, when
check-headers.sh inform about the change to the perf tools hackers.

Cc: netdev@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20231121225650.390246-7-namhyung@kernel.org
2023-11-22 10:57:47 -08:00
..
include/linux tools headers: Update tools's copy of socket.h header 2023-11-22 10:57:47 -08:00
tracepoints tools: Get rid of IRQ_MOVE_CLEANUP_VECTOR from tools 2023-08-06 14:15:10 +02:00
Build perf trace: Add augmenter for clock_gettime's rqtp timespec arg 2022-11-10 15:30:10 -03:00
arch_errno_names.c
arch_errno_names.sh perf beauty arch_errno_names: Fix shellcheck issue about local variables 2023-08-03 17:01:26 -03:00
arch_prctl.c tools headers UAPI: Sync arch prctl headers with the kernel sources 2023-05-17 11:23:43 -03:00
beauty.h perf trace: Tidy comments related to BPF + syscall augmentation 2023-08-15 16:41:48 -03:00
clone.c tools headers UAPI: Sync sched.h with the kernel 2020-04-14 09:01:08 -03:00
drm_ioctl.sh
eventfd.c
fadvise.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
fcntl.c
flock.c
fsconfig.sh perf beauty: Fix fsconfig generator 2021-04-15 16:34:11 -03:00
fsmount.c perf trace: Beautify 'fsmount' arguments 2019-05-28 18:37:43 -03:00
fsmount.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
fspick.c perf trace: Beautify 'fspick' arguments 2019-05-28 18:37:42 -03:00
fspick.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
futex_op.c
futex_val3.c
ioctl.c perf trace beauty ioctl: Fix off-by-one error in cmd->string table 2019-08-26 11:58:29 -03:00
kcmp.c
kcmp_type.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
kvm_ioctl.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
madvise_behavior.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
mmap.c perf trace: Use the autogenerated mmap 'prot' string/id table 2020-10-01 11:35:01 -03:00
mmap_flags.sh perf beauty mmap_flags: Use "test -f" instead of "[-f FILE]" 2023-08-29 14:15:21 -03:00
mmap_prot.sh perf beauty mmap_flags: Use "test -f" instead of "[-f FILE]" 2023-08-29 14:15:21 -03:00
mode_t.c
mount_flags.c
mount_flags.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
move_mount.c perf trace: Beautify 'move_mount' arguments 2019-05-28 18:37:42 -03:00
move_mount_flags.sh tools include UAPI: Sync linux/mount.h copy with the kernel sources 2023-07-11 13:01:23 -03:00
mremap_flags.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
msg_flags.c perf beauty: Update copy of linux/socket.h with the kernel sources 2023-07-14 09:59:56 -03:00
open_flags.c
perf_event_open.c perf trace: Add BPF augmenter to perf_event_open()'s 'struct perf_event_attr' arg 2022-11-07 10:56:40 -03:00
perf_ioctl.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
pid.c perf thread: Add accessor functions for thread 2023-06-12 15:57:53 -03:00
pkey_alloc.c
pkey_alloc_access_rights.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
prctl.c perf beauty prctl: Export the 'options' strarray 2020-02-11 16:41:50 -03:00
prctl_option.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
rename_flags.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
renameat.c perf trace beauty renameat: No need to include linux/fs.h 2019-04-01 14:49:24 -03:00
sched_policy.c
seccomp.c
signum.c
sndrv_ctl_ioctl.sh
sndrv_pcm_ioctl.sh
sockaddr.c perf beauty: Make all sockaddr files use a common naming scheme 2021-11-12 10:40:34 -03:00
sockaddr.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
socket.c perf beauty: Add socket level scnprintf that handles ARCH specific SOL_SOCKET 2021-11-12 10:40:34 -03:00
socket.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
socket_type.c
statx.c tools headers uapi: Sync linux/stat.h with the kernel sources 2022-10-25 17:40:48 -03:00
sync_file_range.c perf trace: Beautify 'sync_file_range' arguments 2019-05-28 18:37:43 -03:00
sync_file_range.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
timespec.c perf trace: Add augmenter for clock_gettime's rqtp timespec arg 2022-11-10 15:30:10 -03:00
usbdevfs_ioctl.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
vhost_virtio_ioctl.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
waitid_options.c
x86_arch_prctl.sh perf trace x86_arch_prctl: Address shellcheck warnings about local variables 2023-08-03 17:01:26 -03:00