Lines Matching refs:bfsize
1154 char *bf, size_t bfsize, bool show_dso) in callchain_list__sym_name() argument
1164 printed = scnprintf(bf, bfsize, "%s %s%s", in callchain_list__sym_name()
1168 printed = scnprintf(bf, bfsize, "%s%s", in callchain_list__sym_name()
1171 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); in callchain_list__sym_name()
1174 scnprintf(bf + printed, bfsize - printed, " %s", in callchain_list__sym_name()
1183 char *bf, size_t bfsize, u64 total) in callchain_node__scnprintf_value() argument
1196 scnprintf(bf, bfsize, "%"PRIu64, period); in callchain_node__scnprintf_value()
1199 scnprintf(bf, bfsize, "%u", count); in callchain_node__scnprintf_value()
1205 scnprintf(bf, bfsize, "%.2f%%", percent); in callchain_node__scnprintf_value()
1308 static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize) in count_pri64_printf() argument
1310 return scnprintf(bf, bfsize, "%s%s:%" PRId64 "", (idx) ? " " : " (", str, value); in count_pri64_printf()
1314 char *bf, int bfsize, float threshold) in count_float_printf() argument
1319 return scnprintf(bf, bfsize, "%s%s:%.1f%%", (idx) ? " " : " (", str, value); in count_float_printf()
1322 static int branch_to_str(char *bf, int bfsize, in branch_to_str() argument
1329 printed = branch_type_str(brtype_stat, bf, bfsize); in branch_to_str()
1336 bf + printed, bfsize - printed, 0.0); in branch_to_str()
1342 bf + printed, bfsize - printed, 0.1); in branch_to_str()
1346 printed += scnprintf(bf + printed, bfsize - printed, ")"); in branch_to_str()
1351 static int branch_from_str(char *bf, int bfsize, in branch_from_str() argument
1363 bf + printed, bfsize - printed); in branch_from_str()
1370 v, bf + printed, bfsize - printed); in branch_from_str()
1374 bf + printed, bfsize - printed); in branch_from_str()
1379 printed += scnprintf(bf + printed, bfsize - printed, ")"); in branch_from_str()
1384 static int counts_str_build(char *bf, int bfsize, in counts_str_build() argument
1394 return scnprintf(bf, bfsize, " (calltrace)"); in counts_str_build()
1397 printed = branch_to_str(bf, bfsize, branch_count, in counts_str_build()
1400 printed = branch_from_str(bf, bfsize, branch_count, in counts_str_build()
1411 static int callchain_counts_printf(FILE *fp, char *bf, int bfsize, in callchain_counts_printf() argument
1427 return scnprintf(bf, bfsize, "%s", str); in callchain_counts_printf()
1431 FILE *fp, char *bf, int bfsize) in callchain_list_counts__printf_value() argument
1446 return callchain_counts_printf(fp, bf, bfsize, branch_count, in callchain_list_counts__printf_value()