/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/socket.sh (924B)
#!/bin/sh # SPDX-License-Identifier: LGPL-2.1 # This one uses a copy from the kernel sources headers that is in a # place used just for these tools/perf/beauty/ usage, we shouldn't not # put it in tools/include/linux otherwise they would be used in the # normal compiler building process and would drag needless stuff from the # kernel. # When what these scripts need is already in tools/include/ then use it, # otherwise grab and check the copy from the kernel sources just for these # string table building scripts. [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/perf/trace/beauty/include/linux/ printf "static const char *socket_families[] = {\n" # #define AF_LOCAL 1 /* POSIX name for AF_UNIX */ regex='^#define[[:space:]]+AF_(\w+)[[:space:]]+([[:digit:]]+).*' egrep $regex ${header_dir}/socket.h | \ sed -r "s/$regex/\2 \1/g" | \ xargs printf "\t[%s] = \"%s\",\n" | \ egrep -v "\"(UNIX|MAX)\"" printf "};\n"