Lines Matching refs:bf
18 static size_t syscall_arg__scnprintf_perf_flags(char *bf, size_t size, in syscall_arg__scnprintf_perf_flags() argument
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()
50 char *bf; member
57 …size_t printed = scnprintf(args->bf + args->printed , args->size - args->printed, "%s%s: %s", args… in attr__fprintf()
64 static size_t perf_event_attr___scnprintf(struct perf_event_attr *attr, char *bf, size_t size, bool… in perf_event_attr___scnprintf() argument
67 .printed = scnprintf(bf, size, "{ "), in perf_event_attr___scnprintf()
70 .bf = bf, in perf_event_attr___scnprintf()
74 return args.printed + scnprintf(bf + args.printed, size - args.printed, " }"); in perf_event_attr___scnprintf()
77 static size_t syscall_arg__scnprintf_augmented_perf_event_attr(struct syscall_arg *arg, char *bf, s… in syscall_arg__scnprintf_augmented_perf_event_attr() argument
79 return perf_event_attr___scnprintf((void *)arg->augmented.args, bf, size, arg->trace->show_zeros); in syscall_arg__scnprintf_augmented_perf_event_attr()
82 static size_t syscall_arg__scnprintf_perf_event_attr(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_perf_event_attr() argument
85 return syscall_arg__scnprintf_augmented_perf_event_attr(arg, bf, size); in syscall_arg__scnprintf_perf_event_attr()
87 return scnprintf(bf, size, "%#lx", arg->val); in syscall_arg__scnprintf_perf_event_attr()