[Mesa-dev] [PATCH 4/6] gallium/hud: set filedescriptor for cpu graph

Edmondo Tommasina edmondo.tommasina at gmail.com
Wed Dec 21 21:58:12 UTC 2016


---
 src/gallium/auxiliary/hud/hud_cpu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/auxiliary/hud/hud_cpu.c b/src/gallium/auxiliary/hud/hud_cpu.c
index c06e777..c65444e 100644
--- a/src/gallium/auxiliary/hud/hud_cpu.c
+++ b/src/gallium/auxiliary/hud/hud_cpu.c
@@ -213,6 +213,8 @@ hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index)
    info = gr->query_data;
    info->cpu_index = cpu_index;
 
+   hud_graph_set_dump_file(gr);
+
    hud_pane_add_graph(pane, gr);
    hud_pane_set_max_value(pane, 100);
 }
-- 
2.10.0



More information about the mesa-dev mailing list