/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/fadvise.sh (834B)
#!/bin/sh # SPDX-License-Identifier: LGPL-2.1 [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/ printf "static const char *fadvise_advices[] = {\n" regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+POSIX_FADV_(\w+)[[:space:]]+([[:digit:]]+)[[:space:]]+.*' egrep $regex ${header_dir}/fadvise.h | \ sed -r "s/$regex/\2 \1/g" | \ sort | xargs printf "\t[%s] = \"%s\",\n" | \ grep -v "[6].*DONTNEED" | grep -v "[7].*NOREUSE" printf "};\n" # XXX Fix this properly: # The grep 6/7 DONTNEED/NOREUSE are a hack to filter out the s/390 oddity See # tools/include/uapi/linux/fadvise.h for details. # Probably fix this when generating the string tables per arch so that We can # reliably process on arch FOO a perf.data file collected by 'perf trace # record' on arch BAR, e.g. collect on s/390 and process on x86.