/usr/src/linux-headers-5.15.0-181/tools/perf/trace/beauty
NameSizeModeActions
tracepoints/-0755rm
arch_errno_names.sh20760755editdlrm
drm_ioctl.sh6260755editdlrm
fadvise.sh8340755editdlrm
fsconfig.sh3790755editdlrm
fsmount.sh8270755editdlrm
fspick.sh4740755editdlrm
kcmp_type.sh3410755editdlrm
kvm_ioctl.sh5190755editdlrm
madvise_behavior.sh4240755editdlrm
mmap_flags.sh17540755editdlrm
mmap_prot.sh11670755editdlrm
mount_flags.sh6950755editdlrm
move_mount_flags.sh4880755editdlrm
mremap_flags.sh5690755editdlrm
perf_ioctl.sh4530755editdlrm
pkey_alloc_access_rights.sh4560755editdlrm
prctl_option.sh6590755editdlrm
rename_flags.sh5840755editdlrm
sndrv_ctl_ioctl.sh3680755editdlrm
sndrv_pcm_ioctl.sh3680755editdlrm
socket.sh9240755editdlrm
socket_ipproto.sh3700755editdlrm
sync_file_range.sh4810755editdlrm
usbdevfs_ioctl.sh10010755editdlrm
vhost_virtio_ioctl.sh7750755editdlrm
x86_arch_prctl.sh8400755editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/tools/perf/trace/beauty/mremap_flags.sh (569B)
#!/bin/sh # SPDX-License-Identifier: LGPL-2.1 if [ $# -ne 1 ] ; then linux_header_dir=tools/include/uapi/linux else linux_header_dir=$1 fi linux_mman=${linux_header_dir}/mman.h printf "static const char *mremap_flags[] = {\n" regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MREMAP_([[:alnum:]_]+)[[:space:]]+((0x)?[[:xdigit:]]+)[[:space:]]*.*' egrep -q $regex ${linux_mman} && \ (egrep $regex ${linux_mman} | \ sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MREMAP_%s\n#define MREMAP_%s %s\n#endif\n") printf "};\n"