Lines Matching defs:bfsize

1171 			       char *bf, size_t bfsize, bool show_dso)
1181 printed = scnprintf(bf, bfsize, "%s %s%s",
1185 printed = scnprintf(bf, bfsize, "%s%s",
1188 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip);
1191 scnprintf(bf + printed, bfsize - printed, " %s",
1200 char *bf, size_t bfsize, u64 total)
1213 scnprintf(bf, bfsize, "%"PRIu64, period);
1216 scnprintf(bf, bfsize, "%u", count);
1222 scnprintf(bf, bfsize, "%.2f%%", percent);
1325 static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize)
1327 return scnprintf(bf, bfsize, "%s%s:%" PRId64 "", (idx) ? " " : " (", str, value);
1331 char *bf, int bfsize, float threshold)
1336 return scnprintf(bf, bfsize, "%s%s:%.1f%%", (idx) ? " " : " (", str, value);
1339 static int branch_to_str(char *bf, int bfsize,
1346 printed = branch_type_str(brtype_stat, bf, bfsize);
1353 bf + printed, bfsize - printed, 0.0);
1359 bf + printed, bfsize - printed, 0.1);
1363 printed += scnprintf(bf + printed, bfsize - printed, ")");
1368 static int branch_from_str(char *bf, int bfsize,
1380 bf + printed, bfsize - printed);
1387 v, bf + printed, bfsize - printed);
1391 bf + printed, bfsize - printed);
1396 printed += scnprintf(bf + printed, bfsize - printed, ")");
1401 static int counts_str_build(char *bf, int bfsize,
1411 return scnprintf(bf, bfsize, " (calltrace)");
1414 printed = branch_to_str(bf, bfsize, branch_count,
1417 printed = branch_from_str(bf, bfsize, branch_count,
1428 static int callchain_counts_printf(FILE *fp, char *bf, int bfsize,
1444 return scnprintf(bf, bfsize, "%s", str);
1448 FILE *fp, char *bf, int bfsize)
1463 return callchain_counts_printf(fp, bf, bfsize, branch_count,