Lines Matching refs:fprintf
55 fprintf(stderr, "Failed to attach bench uprobe \"%s\": %s\n", #prog, strerror(errno)); \
69 fprintf(stderr, "Failed to open and load uprobes bench BPF skeleton\n");
75 fprintf(stderr, "Failed to load and verify BPF skeleton\n");
85 fprintf(stderr, "Invalid bench: %d\n", bench);
113 int printed = fprintf(fp, "# Executed %'d %s calls\n", loops, name);
115 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit);
118 printed += fprintf(fp, " %s%'" PRId64 " to baseline", diff_to_baseline > 0 ? "+" : "", diff_to_baseline);
121 fprintf(stdout, " %s%'" PRId64 " to previous", diff_to_previous > 0 ? "+" : "", diff_to_previous);
124 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit);
127 printed += fprintf(fp, " %'.3f %ss/op to baseline", (double)diff_to_baseline / (double)loops, unit);
130 printed += fprintf(fp, " %'.3f %ss/op to previous", (double)diff_to_previous / (double)loops, unit);
176 fprintf(stderr, "Unknown format:%d\n", bench_format);