summaryrefslogtreecommitdiff
path: root/graph.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-21 19:33:32 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-21 19:33:32 +0100
commit08d7d5a80f3698f9a5b362831762c23e99fd9a22 (patch)
treeaeeab2c4f1f574014ad19dbbf6a54f6729baae74 /graph.c
parent3ca30e63c16734837336380b6f40b85e97579167 (diff)
downloadfio-08d7d5a80f3698f9a5b362831762c23e99fd9a22.tar.gz
fio-08d7d5a80f3698f9a5b362831762c23e99fd9a22.tar.bz2
graph: clear prio root iter on extra loop
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'graph.c')
-rw-r--r--graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/graph.c b/graph.c
index 9761a1ad..84bc9f9b 100644
--- a/graph.c
+++ b/graph.c
@@ -916,6 +916,7 @@ const char *graph_find_tooltip(struct graph *g, int ix, int iy)
best_delta = UINT_MAX;
i = g->labels;
do {
+ INIT_PRIO_TREE_ITER(&iter);
prio_tree_iter_init(&iter, &i->prio_tree, y, y);
n = prio_tree_next(&iter);