gfio: add support for graph tooltips

Will show the actual value logged at that point.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/graph.h b/graph.h
index a8390b5..cb1e2d5 100644
--- a/graph.h
+++ b/graph.h
@@ -50,7 +50,7 @@
 int graph_add_data(struct graph *g, const char *label, const double value);
 /* graph_add_data() is used to add data to the labels of a bar graph */
 int graph_add_xy_data(struct graph *g, const char *label,
-		const double x, const double y);
+		const double x, const double y, const char *tooltip);
 /* graph_add_xy_data is used to add data to the labels of a line graph */
 
 void graph_set_color(struct graph *g, const char *label,
@@ -81,5 +81,9 @@
  * so that the data doesn't go to the very edges.
  */
 
+extern int graph_has_tooltips(struct graph *g);
+extern const char *graph_find_tooltip(struct graph *g, int x, int y);
+extern int graph_contains_xy(struct graph *p, int x, int y);
+
 #endif