Skip to content
Snippets Groups Projects
Commit d480d24a authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

fix perf counter: use dprintf instead of printf

parent b306935d
No related branches found
No related tags found
No related merge requests found
......@@ -608,7 +608,7 @@ perf_print_latency(int fd)
dprintf(fd, "bucket [us] : events\n");
for (int i = 0; i < latency_bucket_count; i++) {
printf(" %4i : %li\n", latency_buckets[i], (long int)latency_counters[i]);
dprintf(fd, " %4i : %li\n", latency_buckets[i], (long int)latency_counters[i]);
}
// print the overflow bucket value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment