Home
last modified time | relevance | path

Searched refs:show_prefix (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/tools/perf/trace/beauty/
Dfcntl.c12 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()
Dsocket.c14 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()
Dmmap.c7 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()
Dpkey_alloc.c12 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()
Dstatx.c16 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()
Dseccomp.c11 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()
Dprctl.c16 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()
Dopen_flags.c25 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()
Dfsmount.c12 … 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()
Dsync_file_range.c12 …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()
Dfutex_op.c22 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()
Dsched_policy.c20 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()
Dmove_mount.c11 …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()
Dfspick.c11 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()
Drenameat.c6 …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()
Darch_prctl.c23 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()
Dmount_flags.c14 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()
Dwaitid_options.c8 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()
Deventfd.c16 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()
Dperf_event_open.c21 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()
Dkcmp.c29 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()
Dflock.c25 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()
Dioctl.c126 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()
/linux-6.1.9/tools/perf/trace/beauty/tracepoints/
Dx86_irq_vectors.c14 …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()
Dx86_msr.c24 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()

12