/linux-6.6.21/tools/perf/trace/beauty/ |
D | statx.c | 18 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_statx_flags() local 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() 41 return printed; in syscall_arg__scnprintf_statx_flags() 48 int printed = 0, flags = arg->val; 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() 74 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_statx_mask() 76 return printed; in syscall_arg__scnprintf_statx_mask()
|
D | perf_event_open.c | 23 int printed = 0, flags = arg->val; 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() 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() 49 size_t size, printed; member 57 …size_t printed = scnprintf(args->bf + args->printed , args->size - args->printed, "%s%s: %s", args… in attr__fprintf() local 60 args->printed += printed; in attr__fprintf() 61 return printed; in attr__fprintf() 67 .printed = scnprintf(bf, size, "{ "), in perf_event_attr___scnprintf() 74 return args.printed + scnprintf(bf + args.printed, size - args.printed, " }"); in perf_event_attr___scnprintf()
|
D | open_flags.c | 28 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() 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() 77 return printed; in open__scnprintf_flags()
|
D | seccomp.c | 14 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 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() 52 return printed; in syscall_arg__scnprintf_seccomp_flags()
|
D | sockaddr.c | 26 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()
|
D | pkey_alloc.c | 14 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() 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() 38 return printed; in strarray__scnprintf_flags()
|
D | waitid_options.c | 10 int printed = 0, options = arg->val; 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() 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()
|
D | eventfd.c | 18 int printed = 0, flags = arg->val; 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() 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()
|
D | sched_policy.c | 25 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()
|
D | flock.c | 27 int printed = 0, op = arg->val; 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() 48 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", op); in syscall_arg__scnprintf_flock() 50 return printed; in syscall_arg__scnprintf_flock()
|
D | socket_type.c | 25 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()
|
D | msg_flags.c | 32 int printed = 0, flags = arg->val; in syscall_arg__scnprintf_msg_flags() local 38 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in syscall_arg__scnprintf_msg_flags() 67 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_msg_flags() 69 return printed; in syscall_arg__scnprintf_msg_flags()
|
D | mode_t.c | 27 int printed = 0, mode = arg->val; in syscall_arg__scnprintf_mode_t() local 31 …printed += 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()
|
D | clone.c | 16 int printed = 0; in clone__scnprintf_flags() local 20 …printed += 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()
|
D | futex_op.c | 34 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() 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() 60 return printed; in syscall_arg__scnprintf_futex_op()
|
D | ioctl.c | 133 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()
|
D | sync_file_range.c | 16 size_t printed = 0; in sync_file_range__scnprintf_flags() local 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()
|
D | fsmount.c | 16 size_t printed = 0; in fsmount__scnprintf_attr_flags() local 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() 23 printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME"); in fsmount__scnprintf_attr_flags() 26 return printed; in fsmount__scnprintf_attr_flags()
|
D | pid.c | 7 size_t printed = scnprintf(bf, size, "%d", pid); in syscall_arg__scnprintf_pid() local 15 printed += scnprintf(bf + printed, size - printed, in syscall_arg__scnprintf_pid() 20 return printed; in syscall_arg__scnprintf_pid()
|
/linux-6.6.21/tools/perf/util/ |
D | evsel_fprintf.c | 46 int printed = 0; in evsel__fprintf() local 55 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf() 57 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf() 59 printed += fprintf(fp, ",%s", evsel__name(pos)); in evsel__fprintf() 62 printed += fprintf(fp, "}"); in evsel__fprintf() 66 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf() 69 printed += perf_event_attr__fprintf(fp, &evsel->core.attr, in evsel__fprintf() 77 printed += comma_fprintf(fp, &first, " %s=%" PRIu64, in evsel__fprintf() 86 printed += comma_fprintf(fp, &first, " (not a tracepoint)"); in evsel__fprintf() 92 printed += comma_fprintf(fp, &first, " (no trace field)"); in evsel__fprintf() [all …]
|
D | branch.c | 176 int i, j = 0, printed = 0; in branch_type_str() local 189 printed += count_str_scnprintf(j++, "COND_FWD", bf + printed, size - printed); in branch_type_str() 192 printed += count_str_scnprintf(j++, "COND_BWD", bf + printed, size - printed); in branch_type_str() 199 printed += count_str_scnprintf(j++, branch_type_name(i), bf + printed, size - printed); in branch_type_str() 204 printed += count_str_scnprintf(j++, branch_new_type_name(i), bf + printed, size - printed); in branch_type_str() 208 printed += count_str_scnprintf(j++, "CROSS_4K", bf + printed, size - printed); in branch_type_str() 211 printed += count_str_scnprintf(j++, "CROSS_2M", bf + printed, size - printed); in branch_type_str() 213 return printed; in branch_type_str()
|
D | print_binary.c | 11 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 …]
|
D | debug.c | 164 int printed = 0; in trace_event_printer() local 168 printed += fprintf(fp, "."); in trace_event_printer() 169 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer() 173 printed += fprintf(fp, "."); in trace_event_printer() 176 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer() 179 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer() 182 printed += color_fprintf(fp, color, " "); in trace_event_printer() 185 printed += color_fprintf(fp, color, " "); in trace_event_printer() 188 printed += color_fprintf(fp, color, "%c", in trace_event_printer() 192 printed += color_fprintf(fp, color, " "); in trace_event_printer() [all …]
|
D | spark.c | 16 int i, printed = 0; in print_spark() local 29 printed += scnprintf(bf + printed, size - printed, "%s", in print_spark() 33 return printed; in print_spark()
|
/linux-6.6.21/tools/perf/ |
D | builtin-trace.c | 501 size_t printed = scnprintf(bf, size, intfmt, val); in strarray__scnprintf_suffix() local 503 printed += scnprintf(bf + printed, size - printed, " /* %s??? */", sa->prefix); in strarray__scnprintf_suffix() 504 return printed; in strarray__scnprintf_suffix() 515 size_t printed = scnprintf(bf, size, intfmt, val); in strarray__scnprintf() local 517 printed += scnprintf(bf + printed, size - printed, " /* %s??? */", sa->prefix); in strarray__scnprintf() 518 return printed; in strarray__scnprintf() 561 size_t printed; in strarrays__scnprintf() local 575 printed = scnprintf(bf, size, intfmt, val); in strarrays__scnprintf() 577 printed += scnprintf(bf + printed, size - printed, " /* %s??? */", sas->entries[0]->prefix); in strarrays__scnprintf() 578 return printed; in strarrays__scnprintf() [all …]
|