iowatcher: Make sure we add the xtick labels if we're only plotting IO
authorChris Mason <chris.mason@fusionio.com>
Fri, 21 Sep 2012 18:03:50 +0000 (14:03 -0400)
committerChris Mason <chris.mason@fusionio.com>
Fri, 21 Sep 2012 18:03:50 +0000 (14:03 -0400)
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
iowatcher/main.c

index e076f679836f12ce61154c6c8c13f58fea51398e..6798273178e405371ec3197a46d268008fcfe4cd 100644 (file)
@@ -1356,6 +1356,7 @@ int main(int ac, char **av)
                plot->add_xlabel = 1;
        set_plot_title(plot, graph_title);
 
+       check_plot_columns(plot, IO_GRAPH_INDEX);
        plot_io(plot, min_seconds, max_seconds, min_offset, max_offset);
        plot->add_xlabel = 0;