/linux/tools/perf/trace/beauty/ |
A D | fcntl.c | 12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getfd() argument 15 scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC"); in fcntl__scnprintf_getfd() 23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getlease() argument 28 return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); in fcntl__scnprintf_getlease() 72 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_fcntl_arg() local 79 return fcntl__scnprintf_getfd(arg->val, bf, size, show_prefix); in syscall_arg__scnprintf_fcntl_arg() 82 return open__scnprintf_flags(arg->val, bf, size, show_prefix); in syscall_arg__scnprintf_fcntl_arg() 88 return fcntl__scnprintf_getlease(arg->val, bf, size, show_prefix); in syscall_arg__scnprintf_fcntl_arg()
|
A D | socket.c | 14 static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) in socket__scnprintf_ipproto() argument 18 return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol); in socket__scnprintf_ipproto() 31 static size_t socket__scnprintf_level(int level, char *bf, size_t size, bool show_prefix) in socket__scnprintf_level() argument 39 return scnprintf(bf, size, "%sSOCKET", show_prefix ? "SOL_" : ""); in socket__scnprintf_level() 41 return strarray__scnprintf(&strarray__socket_level, bf, size, "%d", show_prefix, level); in socket__scnprintf_level()
|
A D | mmap.c | 7 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_prot() argument 9 return strarray__scnprintf_flags(&strarray__mmap_prot, bf, size, show_prefix, prot); in mmap__scnprintf_prot() 27 static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_flags() argument 29 return strarray__scnprintf_flags(&strarray__mmap_flags, bf, size, show_prefix, flags); in mmap__scnprintf_flags() 48 static size_t mremap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mremap__scnprintf_flags() argument 50 return strarray__scnprintf_flags(&strarray__mremap_flags, bf, size, show_prefix, flags); in mremap__scnprintf_flags()
|
A D | pkey_alloc.c | 12 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi… in strarray__scnprintf_flags() argument 19 return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s); in strarray__scnprintf_flags() 33 …printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entr… in strarray__scnprintf_flags() 41 …e_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool show_prefix) in pkey_alloc__scnprintf_access_rights() argument 46 …return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, acces… in pkey_alloc__scnprintf_access_rights()
|
A D | statx.c | 16 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_statx_flags() local 21 return scnprintf(bf, size, "%s%s", show_prefix ? "AT_STATX_" : "", "SYNC_AS_STAT"); in syscall_arg__scnprintf_statx_flags() 24 …printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefi… in syscall_arg__scnprintf_statx_flags() 46 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_statx_mask() local 52 …printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefi… in syscall_arg__scnprintf_statx_mask()
|
A D | seccomp.c | 11 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_seccomp_op() local 17 …OP(n) case SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", … in syscall_arg__scnprintf_seccomp_op() 36 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_seccomp_flags() local 42 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_seccomp_flags()
|
A D | open_flags.c | 25 size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in open__scnprintf_flags() argument 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags() 36 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags() 63 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags()
|
A D | prctl.c | 16 static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_option() argument 18 return strarray__scnprintf(&strarray__prctl_options, bf, size, "%d", show_prefix, option); in prctl__scnprintf_option() 21 static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_set_mm() argument 24 return strarray__scnprintf(&strarray__prctl_set_mm_options, bf, size, "%d", show_prefix, option); in prctl__scnprintf_set_mm()
|
A D | futex_op.c | 22 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_futex_op() local 37 #define P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : … in syscall_arg__scnprintf_futex_op() 55 …printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FL… in syscall_arg__scnprintf_futex_op() 58 …printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REAL… in syscall_arg__scnprintf_futex_op()
|
A D | fsmount.c | 12 … size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in fsmount__scnprintf_attr_flags() argument 19 … printed += strarray__scnprintf_flags(&strarray__fsmount_attr_flags, bf, size, show_prefix, flags); in fsmount__scnprintf_attr_flags() 23 printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME"); in fsmount__scnprintf_attr_flags()
|
A D | sync_file_range.c | 12 …ze_t sync_file_range__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in sync_file_range__scnprintf_flags() argument 19 …printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? "SYNC_FILE_RANGE_" : "", … in sync_file_range__scnprintf_flags() 23 …cnprintf_flags(&strarray__sync_file_range_flags, bf + printed, size - printed, show_prefix, flags); in sync_file_range__scnprintf_flags()
|
A D | sched_policy.c | 20 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_sched_policy() local 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); in syscall_arg__scnprintf_sched_policy() 37 printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_sched_policy()
|
A D | move_mount.c | 11 …ic size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in move_mount__scnprintf_flags() argument 16 return strarray__scnprintf_flags(&strarray__move_mount_flags, bf, size, show_prefix, flags); in move_mount__scnprintf_flags()
|
A D | fspick.c | 11 static size_t fspick__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in fspick__scnprintf_flags() argument 16 return strarray__scnprintf_flags(&strarray__fspick_flags, bf, size, show_prefix, flags); in fspick__scnprintf_flags()
|
A D | renameat.c | 6 …tic size_t renameat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in renameat2__scnprintf_flags() argument 11 return strarray__scnprintf_flags(&strarray__rename_flags, bf, size, show_prefix, flags); in renameat2__scnprintf_flags()
|
A D | arch_prctl.c | 23 static size_t x86_arch_prctl__scnprintf_code(int option, char *bf, size_t size, bool show_prefix) in x86_arch_prctl__scnprintf_code() argument 25 …return strarrays__scnprintf(&strarrays__x86_arch_prctl_codes, bf, size, "%#x", show_prefix, option… in x86_arch_prctl__scnprintf_code()
|
A D | mount_flags.c | 14 static size_t mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mount__scnprintf_flags() argument 19 return strarray__scnprintf_flags(&strarray__mount_flags, bf, size, show_prefix, flags); in mount__scnprintf_flags()
|
A D | ioctl.c | 126 static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) in ioctl__scnprintf_cmd() argument 158 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? prefix : "", "NONE"); in ioctl__scnprintf_cmd() 161 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? prefix : "", "READ"); in ioctl__scnprintf_cmd() 164 show_prefix ? prefix : "", "WRITE"); in ioctl__scnprintf_cmd()
|
A D | waitid_options.c | 8 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_waitid_options() local 14 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_waitid_options()
|
A D | eventfd.c | 16 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_eventfd_flags() local 24 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_eventfd_flags()
|
A D | perf_event_open.c | 21 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_perf_flags() local 30 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_perf_flags()
|
A D | kcmp.c | 29 static size_t kcmp__scnprintf_type(int type, char *bf, size_t size, bool show_prefix) in kcmp__scnprintf_type() argument 32 return strarray__scnprintf(&strarray__kcmp_types, bf, size, "%d", show_prefix, type); in kcmp__scnprintf_type()
|
A D | flock.c | 25 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_flock() local 33 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_flock()
|
/linux/tools/perf/trace/beauty/tracepoints/ |
A D | x86_irq_vectors.c | 14 …ic size_t x86_irq_vectors__scnprintf(unsigned long vector, char *bf, size_t size, bool show_prefix) in x86_irq_vectors__scnprintf() argument 16 …return strarray__scnprintf_suffix(&strarray__x86_irq_vectors, bf, size, "%#x", show_prefix, vector… in x86_irq_vectors__scnprintf()
|
A D | x86_msr.c | 24 static size_t x86_MSR__scnprintf(unsigned long msr, char *bf, size_t size, bool show_prefix) in x86_MSR__scnprintf() argument 26 return strarrays__scnprintf(&strarrays__x86_MSRs_tables, bf, size, "%#x", show_prefix, msr); in x86_MSR__scnprintf()
|