/linux-master/tools/perf/trace/beauty/ |
H A D | renameat.c | 6 static size_t renameat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 11 return strarray__scnprintf_flags(&strarray__rename_flags, bf, size, show_prefix, flags);
|
H A D | fsmount.c | 12 static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 19 printed += strarray__scnprintf_flags(&strarray__fsmount_attr_flags, bf, size, show_prefix, flags); 23 printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME");
|
H A D | sync_file_range.c | 12 static size_t sync_file_range__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 19 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? "SYNC_FILE_RANGE_" : "", "WRITE_AND_WAIT"); 23 return printed + strarray__scnprintf_flags(&strarray__sync_file_range_flags, bf + printed, size - printed, show_prefix, flags);
|
H A D | fspick.c | 11 static size_t fspick__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 16 return strarray__scnprintf_flags(&strarray__fspick_flags, bf, size, show_prefix, flags);
|
H A D | move_mount.c | 11 static size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 16 return strarray__scnprintf_flags(&strarray__move_mount_flags, bf, size, show_prefix, flags);
|
H A D | pkey_alloc.c | 12 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags) argument 19 return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s); 33 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]); 41 static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool show_prefix) argument 46 return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, access_rights);
|
H A D | socket.c | 14 static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) argument 18 return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol); 31 static size_t socket__scnprintf_level(int level, char *bf, size_t size, bool show_prefix) argument 39 return scnprintf(bf, size, "%sSOCKET", show_prefix ? "SOL_" : ""); 41 return strarray__scnprintf(&strarray__socket_level, bf, size, "%d", show_prefix, level);
|
H A D | sched_policy.c | 20 bool show_prefix = arg->show_string_prefix; local 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); 37 printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", #n); \
|
H A D | mmap.c | 7 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) argument 9 return strarray__scnprintf_flags(&strarray__mmap_prot, bf, size, show_prefix, prot); 27 static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 29 return strarray__scnprintf_flags(&strarray__mmap_flags, bf, size, show_prefix, flags); 48 static size_t mremap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 50 return strarray__scnprintf_flags(&strarray__mremap_flags, bf, size, show_prefix, flags);
|
H A D | fcntl.c | 12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) argument 15 scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC"); 23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) argument 28 return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); 72 bool show_prefix = arg->show_string_prefix; local 79 return fcntl__scnprintf_getfd(arg->val, bf, size, show_prefix); 82 return open__scnprintf_flags(arg->val, bf, size, show_prefix); 88 return fcntl__scnprintf_getlease(arg->val, bf, size, show_prefix);
|
H A D | mount_flags.c | 14 static size_t mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 19 return strarray__scnprintf_flags(&strarray__mount_flags, bf, size, show_prefix, flags);
|
H A D | arch_prctl.c | 25 static size_t x86_arch_prctl__scnprintf_code(int option, char *bf, size_t size, bool show_prefix) argument 27 return strarrays__scnprintf(&strarrays__x86_arch_prctl_codes, bf, size, "%#x", show_prefix, option);
|
H A D | seccomp.c | 11 bool show_prefix = arg->show_string_prefix; local 17 #define P_SECCOMP_SET_MODE_OP(n) case SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break 36 bool show_prefix = arg->show_string_prefix; local 42 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
|
H A D | statx.c | 16 bool show_prefix = arg->show_string_prefix; local 21 return scnprintf(bf, size, "%s%s", show_prefix ? "AT_STATX_" : "", "SYNC_AS_STAT"); 24 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ 46 bool show_prefix = arg->show_string_prefix; local 52 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
|
H A D | waitid_options.c | 8 bool show_prefix = arg->show_string_prefix; local 14 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
|
H A D | eventfd.c | 16 bool show_prefix = arg->show_string_prefix; local 24 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
|
H A D | kcmp.c | 29 static size_t kcmp__scnprintf_type(int type, char *bf, size_t size, bool show_prefix) argument 32 return strarray__scnprintf(&strarray__kcmp_types, bf, size, "%d", show_prefix, type);
|
H A D | futex_op.c | 22 bool show_prefix = arg->show_string_prefix; local 37 #define P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); 55 printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FLAG"); 58 printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REALTIME");
|
H A D | open_flags.c | 25 size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) argument 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); 36 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ 63 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", "SYNC");
|
H A D | prctl.c | 16 static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix) argument 18 return strarray__scnprintf(&strarray__prctl_options, bf, size, "%d", show_prefix, option); 21 static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix) argument 24 return strarray__scnprintf(&strarray__prctl_set_mm_options, bf, size, "%d", show_prefix, option);
|
H A D | socket_type.c | 23 bool show_prefix = arg->show_string_prefix; local 34 #define P_SK_TYPE(n) case SOCK_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break;
|
H A D | signum.c | 6 bool show_prefix = arg->show_string_prefix; local 11 #define P_SIGNUM(n) case SIG##n: return scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n)
|
H A D | flock.c | 25 bool show_prefix = arg->show_string_prefix; local 33 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #cmd); \
|
/linux-master/tools/perf/trace/beauty/tracepoints/ |
H A D | x86_irq_vectors.c | 14 static size_t x86_irq_vectors__scnprintf(unsigned long vector, char *bf, size_t size, bool show_prefix) argument 16 return strarray__scnprintf_suffix(&strarray__x86_irq_vectors, bf, size, "%#x", show_prefix, vector);
|
H A D | x86_msr.c | 24 static size_t x86_MSR__scnprintf(unsigned long msr, char *bf, size_t size, bool show_prefix) argument 26 return strarrays__scnprintf(&strarrays__x86_MSRs_tables, bf, size, "%#x", show_prefix, msr);
|