/usr/src/linux-headers-5.15.0-190/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-190/tools/perf/trace/beauty/rename_flags.sh (584B)
#!/bin/sh # Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo # SPDX-License-Identifier: LGPL-2.1 [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/ fs_header=${header_dir}/fs.h printf "static const char *rename_flags[] = {\n" regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+RENAME_([[:alnum:]_]+)[[:space:]]+\(1[[:space:]]*<<[[:space:]]*([[:xdigit:]]+)[[:space:]]*\)[[:space:]]*.*' egrep -q $regex ${fs_header} && \ (egrep $regex ${fs_header} | \ sed -r "s/$regex/\2 \1/g" | \ xargs printf "\t[%d + 1] = \"%s\",\n") printf "};\n"