diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2016-02-01 22:09:25 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-02-09 22:12:40 -0500 |
commit | e181db31dfac813124e59db0ebe19a7af7a9df24 (patch) | |
tree | cdd4fb308e7eeb14d64df89cfaef3264ea45645a | |
parent | 584bb2e69fa2123c6e36f34878b0fa0fe679f20f (diff) | |
download | trace-cmd-e181db31dfac813124e59db0ebe19a7af7a9df24.tar.gz |
trace-graph: Have debug resolution 16 digits
Change the debug output of the resolution to 16 digits instead of the
default of 8, as most of the time it is smaller than 8 decimal places.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | trace-graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-graph.c b/trace-graph.c index 3c981d7e..9c92fc27 100644 --- a/trace-graph.c +++ b/trace-graph.c @@ -1305,7 +1305,7 @@ static int update_graph(struct graph_info *ginfo, gdouble percent) ginfo->start_x = (ginfo->view_start_time - ginfo->start_time) * ginfo->resolution; - dprintf(1, "new resolution = %f\n", resolution); + dprintf(1, "new resolution = %.16f\n", resolution); return 0; } |