/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/socket_ipproto.sh (370B)
#!/bin/sh # SPDX-License-Identifier: LGPL-2.1 [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/ printf "static const char *socket_ipproto[] = {\n" regex='^[[:space:]]+IPPROTO_(\w+)[[:space:]]+=[[:space:]]+([[:digit:]]+),.*' egrep $regex ${header_dir}/in.h | \ sed -r "s/$regex/\2 \1/g" | \ sort | xargs printf "\t[%s] = \"%s\",\n" printf "};\n"