Home
last modified time | relevance | path

Searched refs:bf (Results 1 – 25 of 84) sorted by relevance

1234

/tools/perf/trace/beauty/
Dbeauty.h30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool sho…
31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, b…
32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi…
34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret);
35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret);
57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool …
59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret);
61 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size);
123 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg);
126 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret);
[all …]
Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument
42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd()
44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd()
47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument
53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd()
55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument
64 return scnprintf(bf, size, "SNDRV_PCM_%s", strarray__sndrv_pcm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_sndrv_pcm_cmd()
66 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir); in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd() argument
[all …]
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()
12 static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mmap_prot() argument
17 return scnprintf(bf, size, "%sNONE", arg->show_string_prefix ? strarray__mmap_prot.prefix : ""); in syscall_arg__scnprintf_mmap_prot()
19 return mmap__scnprintf_prot(prot, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_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()
32 static size_t syscall_arg__scnprintf_mmap_flags(char *bf, size_t size, in syscall_arg__scnprintf_mmap_flags() argument
40 return mmap__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_flags()
48 static size_t mremap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mremap__scnprintf_flags() argument
[all …]
Dfcntl.c12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getfd() argument
14 return val ? scnprintf(bf, size, "%s", "0") : in fcntl__scnprintf_getfd()
15 scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC"); in fcntl__scnprintf_getfd()
18 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getfd() argument
20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_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()
31 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease() argument
33 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getlease()
36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd() argument
[all …]
Dsockaddr.c13 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf() argument
17 return scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin->sin_port), in af_inet__scnprintf()
21 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf() argument
26 size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port), in af_inet6__scnprintf()
29 printed += scnprintf(bf + printed, size - printed, ", flowinfo: %lu", flowinfo); in af_inet6__scnprintf()
31 printed += scnprintf(bf + printed, size - printed, ", scope_id: %lu", sin6->sin6_scope_id); in af_inet6__scnprintf()
36 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf() argument
39 return scnprintf(bf, size, ", path: %s", sun->sun_path); in af_local__scnprintf()
42 static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = {
48 static size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_t s… in syscall_arg__scnprintf_augmented_sockaddr() argument
[all …]
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()
27 size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg2() argument
32 return prctl__scnprintf_set_mm(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_prctl_arg2()
38 return syscall_arg__scnprintf_hex(bf, size, arg); in syscall_arg__scnprintf_prctl_arg2()
40 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_prctl_arg2()
43 size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg3() argument
48 return syscall_arg__scnprintf_hex(bf, size, arg); in syscall_arg__scnprintf_prctl_arg3()
[all …]
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()
20 return scnprintf(bf, size, "%d", 0); in strarray__scnprintf_flags()
30 printed += scnprintf(bf + printed, size - printed, "|"); in strarray__scnprintf_flags()
33 …printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entr… in strarray__scnprintf_flags()
35 printed += scnprintf(bf + printed, size - printed, "0x%#", bit); in strarray__scnprintf_flags()
41 static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool sh… 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()
49 size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *a… in syscall_arg__scnprintf_pkey_alloc_access_rights() argument
53 return pkey_alloc__scnprintf_access_rights(cmd, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_pkey_alloc_access_rights()
Dkcmp.c16 size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_idx() argument
23 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_kcmp_idx()
26 return pid__scnprintf_fd(arg->trace, pid, fd, bf, size); in syscall_arg__scnprintf_kcmp_idx()
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()
35 size_t syscall_arg__scnprintf_kcmp_type(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_type() argument
42 return kcmp__scnprintf_type(type, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_kcmp_type()
Dsocket.c12 static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) in socket__scnprintf_ipproto() argument
17 return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol); in socket__scnprintf_ipproto()
20 size_t syscall_arg__scnprintf_socket_protocol(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_socket_protocol() argument
25 return socket__scnprintf_ipproto(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_socket_protocol()
27 return syscall_arg__scnprintf_int(bf, size, arg); in syscall_arg__scnprintf_socket_protocol()
Dsync_file_range.c12 static size_t sync_file_range__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool sho… 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 …return printed + strarray__scnprintf_flags(&strarray__sync_file_range_flags, bf + printed, size - … in sync_file_range__scnprintf_flags()
26 size_t syscall_arg__scnprintf_sync_file_range_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_sync_file_range_flags() argument
30 return sync_file_range__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_sync_file_range_flags()
Dfsmount.c12 static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_p… 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()
22 printed += scnprintf(bf + printed, size - printed, "%s%s%s", in fsmount__scnprintf_attr_flags()
29 size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fsmount_attr_flags() argument
33 return fsmount__scnprintf_attr_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fsmount_attr_flags()
Dstatx.c14 size_t syscall_arg__scnprintf_statx_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_statx_flags() argument
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()
39 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_statx_flags()
44 size_t syscall_arg__scnprintf_statx_mask(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_statx_mask() argument
52 …printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefi… in syscall_arg__scnprintf_statx_mask()
73 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_statx_mask()
Dseccomp.c9 static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_seccomp_op() argument
17 #define P_SECCOMP_SET_MODE_OP(n) case SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", s… in syscall_arg__scnprintf_seccomp_op()
21 default: printed = scnprintf(bf, size, "%#x", op); break; in syscall_arg__scnprintf_seccomp_op()
33 static size_t syscall_arg__scnprintf_seccomp_flags(char *bf, size_t size, in syscall_arg__scnprintf_seccomp_flags() argument
42 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_seccomp_flags()
50 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_seccomp_flags()
Dmove_mount.c11 static size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_pre… 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()
19 size_t syscall_arg__scnprintf_move_mount_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_move_mount_flags() argument
23 return move_mount__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_move_mount_flags()
Drenameat.c6 static size_t renameat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_pref… in renameat2__scnprintf_flags() argument
11 return strarray__scnprintf_flags(&strarray__rename_flags, bf, size, show_prefix, flags); in renameat2__scnprintf_flags()
14 size_t syscall_arg__scnprintf_renameat2_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_renameat2_flags() argument
17 return renameat2__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_renameat2_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()
19 size_t syscall_arg__scnprintf_fspick_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fspick_flags() argument
23 return fspick__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fspick_flags()
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()
75 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in open__scnprintf_flags()
80 size_t syscall_arg__scnprintf_open_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_open_flags() argument
87 return open__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_open_flags()
Dsched_policy.c17 static size_t syscall_arg__scnprintf_sched_policy(char *bf, size_t size, in syscall_arg__scnprintf_sched_policy() argument
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); in syscall_arg__scnprintf_sched_policy()
33 printed = scnprintf(bf, size, "%#x", 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()
45 printed += scnprintf(bf + printed, size - printed, "|%#x", flags); in syscall_arg__scnprintf_sched_policy()
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()
28 size_t syscall_arg__scnprintf_x86_arch_prctl_code(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_x86_arch_prctl_code() argument
32 return x86_arch_prctl__scnprintf_code(code, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_x86_arch_prctl_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()
38 size_t syscall_arg__scnprintf_mount_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mount_flags() argument
42 return mount__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mount_flags()
/tools/perf/trace/beauty/tracepoints/
Dx86_irq_vectors.c14 static size_t x86_irq_vectors__scnprintf(unsigned long vector, char *bf, size_t size, bool show_pre… 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()
19 size_t syscall_arg__scnprintf_x86_irq_vectors(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_x86_irq_vectors() argument
23 return x86_irq_vectors__scnprintf(vector, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_x86_irq_vectors()
26 bool syscall_arg__strtoul_x86_irq_vectors(char *bf, size_t size, struct syscall_arg *arg __maybe_un… in syscall_arg__strtoul_x86_irq_vectors() argument
28 return strarray__strtoul(&strarray__x86_irq_vectors, bf, size, ret); in syscall_arg__strtoul_x86_irq_vectors()
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()
29 size_t syscall_arg__scnprintf_x86_MSR(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_x86_MSR() argument
33 return x86_MSR__scnprintf(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_x86_MSR()
36 bool syscall_arg__strtoul_x86_MSR(char *bf, size_t size, struct syscall_arg *arg __maybe_unused, u6… in syscall_arg__strtoul_x86_MSR() argument
38 return strarrays__strtoul(&strarrays__x86_MSRs_tables, bf, size, ret); in syscall_arg__strtoul_x86_MSR()
/tools/perf/util/
Dcolor.c13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument
29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf()
30 r += vscnprintf(bf + r, size - r, fmt, args); in __color_vsnprintf()
32 r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET); in __color_vsnprintf()
34 r += scnprintf(bf + r, size - r, "%s", trail); in __color_vsnprintf()
62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument
65 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf()
73 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf() argument
80 r = color_vsnprintf(bf, size, color, fmt, args); in color_snprintf()
153 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf() argument
[all …]
Dtop.c23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument
46 ret = SNPRINTF(bf, size, in perf_top__header_snprintf()
56 ret = SNPRINTF(bf, size, in perf_top__header_snprintf()
75 ret += SNPRINTF(bf + ret, size - ret, "%" PRIu64 "%s ", in perf_top__header_snprintf()
80 ret += SNPRINTF(bf + ret, size - ret, "%s", evsel__name(top->sym_evsel)); in perf_top__header_snprintf()
82 ret += SNPRINTF(bf + ret, size - ret, "], "); in perf_top__header_snprintf()
85 ret += SNPRINTF(bf + ret, size - ret, " (target_pid: %s", in perf_top__header_snprintf()
88 ret += SNPRINTF(bf + ret, size - ret, " (target_tid: %s", in perf_top__header_snprintf()
91 ret += SNPRINTF(bf + ret, size - ret, " (uid: %s", in perf_top__header_snprintf()
94 ret += SNPRINTF(bf + ret, size - ret, " (all"); in perf_top__header_snprintf()
[all …]
Dcolor.h37 int color_vsnprintf(char *bf, size_t size, const char *color,
41 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...);
43 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value);
44 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...);
45 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...);

1234