2 #ifndef _PERF_TRACE_BEAUTY_H 3 #define _PERF_TRACE_BEAUTY_H 5 #include <linux/kernel.h> 6 #include <linux/types.h> 15 #define DEFINE_STRARRAY(array) struct strarray strarray__##array = { \ 16 .nr_entries = ARRAY_SIZE(array), \ 20 #define DEFINE_STRARRAY_OFFSET(array, off) struct strarray strarray__##array = { \ 22 .nr_entries = ARRAY_SIZE(array), \ 56 #define SCA_STRARRAYS syscall_arg__scnprintf_strarrays 59 #define SCA_FD syscall_arg__scnprintf_fd 62 #define SCA_HEX syscall_arg__scnprintf_hex 65 #define SCA_INT syscall_arg__scnprintf_int 68 #define SCA_LONG syscall_arg__scnprintf_long 71 #define SCA_PID syscall_arg__scnprintf_pid 74 #define SCA_CLONE_FLAGS syscall_arg__scnprintf_clone_flags 77 #define SCA_FCNTL_CMD syscall_arg__scnprintf_fcntl_cmd 80 #define SCA_FCNTL_ARG syscall_arg__scnprintf_fcntl_arg 83 #define SCA_FLOCK syscall_arg__scnprintf_flock 86 #define SCA_IOCTL_CMD syscall_arg__scnprintf_ioctl_cmd 89 #define SCA_KCMP_TYPE syscall_arg__scnprintf_kcmp_type 92 #define SCA_KCMP_IDX syscall_arg__scnprintf_kcmp_idx 95 #define SCA_PKEY_ALLOC_ACCESS_RIGHTS syscall_arg__scnprintf_pkey_alloc_access_rights 98 #define SCA_OPEN_FLAGS syscall_arg__scnprintf_open_flags 101 #define SCA_PRCTL_OPTION syscall_arg__scnprintf_prctl_option 104 #define SCA_PRCTL_ARG2 syscall_arg__scnprintf_prctl_arg2 107 #define SCA_PRCTL_ARG3 syscall_arg__scnprintf_prctl_arg3 110 #define SCA_STATX_FLAGS syscall_arg__scnprintf_statx_flags 113 #define SCA_STATX_MASK syscall_arg__scnprintf_statx_mask 118 size_t (*ret_scnprintf)(
char *bf,
size_t size,
struct syscall_arg *arg));
size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_statx_flags(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_statx_mask(char *bf, size_t size, struct syscall_arg *arg)
size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, int val)
size_t syscall_arg__scnprintf_kcmp_type(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_fd(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_clone_flags(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_flock(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg)
size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size)
size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size)
const char * arch_syscalls__strerrno(const char *arch, int err)
size_t syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_open_flags(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_strarrays(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_int(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_hex(char *bf, size_t size, struct syscall_arg *arg)
size_t syscall_arg__scnprintf_long(char *bf, size_t size, struct syscall_arg *arg)
unsigned long syscall_arg__val(struct syscall_arg *arg, u8 idx)
void syscall_arg__set_ret_scnprintf(struct syscall_arg *arg, size_t(*ret_scnprintf)(char *bf, size_t size, struct syscall_arg *arg))