Home
last modified time | relevance | path

Searched refs:printed (Results 1 – 25 of 197) sorted by relevance

12345678

/linux/tools/perf/util/
A Devsel_fprintf.c42 int printed = 0; in evsel__fprintf() local
58 printed += fprintf(fp, "}"); in evsel__fprintf()
101 return ++printed; in evsel__fprintf()
109 int printed = 0; in sample__fprintf_callchain() local
160 printed += fprintf(fp, " "); in sample__fprintf_callchain()
177 printed += fprintf(fp, ")"); in sample__fprintf_callchain()
201 return printed; in sample__fprintf_callchain()
208 int printed = 0; in sample__fprintf_sym() local
226 printed += fprintf(fp, " "); in sample__fprintf_sym()
240 printed += fprintf(fp, ")"); in sample__fprintf_sym()
[all …]
A Dbranch.c116 int i, j = 0, printed = 0; in branch_type_str() local
126 printed += count_str_scnprintf(j++, "COND_FWD", bf + printed, size - printed); in branch_type_str()
129 printed += count_str_scnprintf(j++, "COND_BWD", bf + printed, size - printed); in branch_type_str()
136 printed += count_str_scnprintf(j++, branch_type_name(i), bf + printed, size - printed); in branch_type_str()
140 printed += count_str_scnprintf(j++, "CROSS_4K", bf + printed, size - printed); in branch_type_str()
143 printed += count_str_scnprintf(j++, "CROSS_2M", bf + printed, size - printed); in branch_type_str()
145 return printed; in branch_type_str()
A Dprint_binary.c11 int printed = 0; in binary__fprintf() local
19 printed += printer(BINARY_PRINT_DATA_BEGIN, 0, extra, fp); in binary__fprintf()
22 printed += printer(BINARY_PRINT_LINE_BEGIN, -1, extra, fp); in binary__fprintf()
23 printed += printer(BINARY_PRINT_ADDR, i, extra, fp); in binary__fprintf()
26 printed += printer(BINARY_PRINT_NUM_DATA, data[i], extra, fp); in binary__fprintf()
30 printed += printer(BINARY_PRINT_NUM_PAD, -1, extra, fp); in binary__fprintf()
34 printed += printer(BINARY_PRINT_CHAR_DATA, data[j], extra, fp); in binary__fprintf()
36 printed += printer(BINARY_PRINT_CHAR_PAD, i, extra, fp); in binary__fprintf()
37 printed += printer(BINARY_PRINT_LINE_END, -1, extra, fp); in binary__fprintf()
40 printed += printer(BINARY_PRINT_DATA_END, -1, extra, fp); in binary__fprintf()
[all …]
A Ddebug.c157 int printed = 0; in trace_event_printer() local
161 printed += fprintf(fp, "."); in trace_event_printer()
166 printed += fprintf(fp, "."); in trace_event_printer()
172 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer()
175 printed += color_fprintf(fp, color, " "); in trace_event_printer()
178 printed += color_fprintf(fp, color, " "); in trace_event_printer()
181 printed += color_fprintf(fp, color, "%c", in trace_event_printer()
185 printed += color_fprintf(fp, color, " "); in trace_event_printer()
188 printed += color_fprintf(fp, color, "\n"); in trace_event_printer()
191 printed += fprintf(fp, "\n"); in trace_event_printer()
[all …]
/linux/tools/perf/trace/beauty/
A Dstatx.c18 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_statx_flags() local
24printed += 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()
41 return printed; in syscall_arg__scnprintf_statx_flags()
48 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_statx_mask() local
52printed += 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()
75 return printed; in syscall_arg__scnprintf_statx_mask()
A Dopen_flags.c28 int printed = 0; in open__scnprintf_flags() local
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags()
33 return printed; in open__scnprintf_flags()
36printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags()
63printed += 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()
77 return printed; in open__scnprintf_flags()
A Dseccomp.c14 size_t printed = 0; in syscall_arg__scnprintf_seccomp_op() local
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()
24 return printed; in syscall_arg__scnprintf_seccomp_op()
38 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_seccomp_flags() local
42printed += 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()
52 return printed; in syscall_arg__scnprintf_seccomp_flags()
A Dsockaddr.c26 size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port), in af_inet6__scnprintf() local
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()
33 return printed; in af_inet6__scnprintf()
52 size_t printed; in syscall_arg__scnprintf_augmented_sockaddr() local
55 printed = scnprintf(bf, size, "{ .family: %s", family); in syscall_arg__scnprintf_augmented_sockaddr()
58 printed += af_scnprintfs[sa->sa_family](sa, bf + printed, size - printed); in syscall_arg__scnprintf_augmented_sockaddr()
60 return printed + scnprintf(bf + printed, size - printed, " }"); in syscall_arg__scnprintf_augmented_sockaddr()
A Dpkey_alloc.c14 int i, printed = 0; in strarray__scnprintf_flags() local
29 if (printed != 0) in strarray__scnprintf_flags()
30 printed += scnprintf(bf + printed, size - printed, "|"); in strarray__scnprintf_flags()
33printed += 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()
38 return printed; in strarray__scnprintf_flags()
A Dwaitid_options.c10 int printed = 0, options = arg->val; in syscall_arg__scnprintf_waitid_options() local
14printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_waitid_options()
24 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
26 return printed; in syscall_arg__scnprintf_waitid_options()
A Deventfd.c18 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_eventfd_flags() local
24printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_eventfd_flags()
34 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_eventfd_flags()
36 return printed; in syscall_arg__scnprintf_eventfd_flags()
A Dperf_event_open.c23 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_perf_flags() local
30printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_perf_flags()
41 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_perf_flags()
43 return printed; in syscall_arg__scnprintf_perf_flags()
A Dflock.c27 int printed = 0, op = arg->val; in syscall_arg__scnprintf_flock() local
33printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_flock()
48 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", op); in syscall_arg__scnprintf_flock()
50 return printed; in syscall_arg__scnprintf_flock()
A Dsched_policy.c25 size_t printed; 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()
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()
47 return printed; in syscall_arg__scnprintf_sched_policy()
A Dsocket_type.c25 size_t printed; in syscall_arg__scnprintf_socket_type() local
34 #define P_SK_TYPE(n) case SOCK_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : ""… in syscall_arg__scnprintf_socket_type()
44 printed = scnprintf(bf, size, "%#x", type); in syscall_arg__scnprintf_socket_type()
49 printed += scnprintf(bf + printed, size - printed, "|%s", #n); \ in syscall_arg__scnprintf_socket_type()
58 printed += scnprintf(bf + printed, size - printed, "|%#x", flags); in syscall_arg__scnprintf_socket_type()
60 return printed; in syscall_arg__scnprintf_socket_type()
A Dmsg_flags.c26 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_msg_flags() local
32printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_msg_flags()
59 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_msg_flags()
61 return printed; in syscall_arg__scnprintf_msg_flags()
A Dioctl.c133 int printed = 0; in ioctl__scnprintf_cmd() local
155 printed += scnprintf(bf + printed, size - printed, "%c", '('); in ioctl__scnprintf_cmd()
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()
163 printed += scnprintf(bf + printed, size - printed, "%s%s%s", dir & _IOC_READ ? "|" : "", in ioctl__scnprintf_cmd()
168 return printed + scnprintf(bf + printed, size - printed, ", %#x, %#x, %#x)", type, nr, sz); in ioctl__scnprintf_cmd()
A Dmode_t.c27 int printed = 0, mode = arg->val; in syscall_arg__scnprintf_mode_t() local
31printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_mode_t()
66 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", mode); in syscall_arg__scnprintf_mode_t()
68 return printed; in syscall_arg__scnprintf_mode_t()
A Dclone.c16 int printed = 0; in clone__scnprintf_flags() local
20printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in clone__scnprintf_flags()
53 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in clone__scnprintf_flags()
55 return printed; in clone__scnprintf_flags()
A Dfutex_op.c34 size_t printed = 0; 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()
51 default: printed = scnprintf(bf, size, "%#x", cmd); break; in syscall_arg__scnprintf_futex_op()
55printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FL… in syscall_arg__scnprintf_futex_op()
58printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REAL… in syscall_arg__scnprintf_futex_op()
60 return printed; in syscall_arg__scnprintf_futex_op()
A Dfsmount.c16 size_t printed = 0; in fsmount__scnprintf_attr_flags() local
19printed += 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()
23 printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME"); in fsmount__scnprintf_attr_flags()
26 return printed; in fsmount__scnprintf_attr_flags()
A Dsync_file_range.c16 size_t printed = 0; in sync_file_range__scnprintf_flags() local
19printed += 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()
/linux/tools/perf/
A Dbuiltin-trace.c818 printed += scnprintf(bf + printed, size - printed, "|%#x", mode); in syscall_arg__scnprintf_access_mode()
839printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_pipe_flags()
848 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_pipe_flags()
880 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_getrandom_flags()
1438 printed += scnprintf(bf + printed, size - printed, "<%s>", path); in syscall_arg__scnprintf_fd()
1452 printed += scnprintf(bf + printed, size - printed, "<%s>", path); in pid__scnprintf_fd()
2048 printed += scnprintf(bf + printed, size - printed, "%s", printed ? ", " : ""); in syscall__scnprintf_args()
2051 printed += scnprintf(bf + printed, size - printed, "%s: ", field->name); in syscall__scnprintf_args()
2067 printed += scnprintf(bf + printed, size - printed, ", "); in syscall__scnprintf_args()
2753 printed += scnprintf(bf + printed, size - printed, "%s", printed ? ", " : "");
[all …]
A Dbuiltin-script.c655 int printed = 0; in perf_sample__fprintf_regs() local
667 return printed; in perf_sample__fprintf_regs()
847 return printed; in perf_sample__fprintf_start()
904 return printed; in perf_sample__fprintf_brstack()
950 return printed; in perf_sample__fprintf_brstacksym()
1000 return printed; in perf_sample__fprintf_brstackoff()
1176 return printed; in ip__fprintf_sym()
1317 return printed; in perf_sample__fprintf_brstackinsn()
1346 return printed; in perf_sample__fprintf_addr()
1464 return printed; in perf_sample__fprintf_insn()
[all …]
/linux/arch/sparc/kernel/
A Dsetup_64.c414 int i, printed = 0; in cpucap_info() local
421 printed ? "," : "", hwcaps[i]); in cpucap_info()
422 printed++; in cpucap_info()
434 printed++; in cpucap_info()
443 if ((*printed) == 0) in report_one_hwcap()
446 (*printed) ? "," : "", name); in report_one_hwcap()
447 if (++(*printed) == 8) { in report_one_hwcap()
449 *printed = 0; in report_one_hwcap()
469 int i, printed = 0; in report_hwcaps() local
477 report_crypto_hwcaps(&printed); in report_hwcaps()
[all …]

Completed in 44 milliseconds

12345678