From 8e74ea12a1fcbe0a799284163f0cf72bcb916df7 Mon Sep 17 00:00:00 2001 From: Jonathan Herman Date: Wed, 3 Oct 2012 18:59:38 -0400 Subject: Temporarily disable hash-based plotting until it works with blocking. --- trace-graph.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'trace-graph.c') diff --git a/trace-graph.c b/trace-graph.c index 6a7f1ff..69f5069 100644 --- a/trace-graph.c +++ b/trace-graph.c @@ -1940,19 +1940,19 @@ static void draw_hashed_plots(struct graph_info *ginfo) } - hash = trace_graph_plot_find_cpu(ginfo, cpu); - if (hash) { - for (list = hash->plots; list; list = list->next) { - draw_plot(ginfo, list->plot, record); - } - } - pid = pevent_data_pid(ginfo->pevent, record); - hash = trace_graph_plot_find_task(ginfo, pid); - if (hash) { - for (list = hash->plots; list; list = list->next) { - draw_plot(ginfo, list->plot, record); - } - } + /* hash = trace_graph_plot_find_cpu(ginfo, cpu); */ + /* if (hash) { */ + /* for (list = hash->plots; list; list = list->next) { */ + /* draw_plot(ginfo, list->plot, record); */ + /* } */ + /* } */ + /* pid = pevent_data_pid(ginfo->pevent, record); */ + /* hash = trace_graph_plot_find_task(ginfo, pid); */ + /* if (hash) { */ + /* for (list = hash->plots; list; list = list->next) { */ + /* draw_plot(ginfo, list->plot, record); */ + /* } */ + /* } */ for (list = ginfo->all_recs; list; list = list->next) { /* TODO: hacky assumption that everything else can be * reached via previous hashes @@ -1960,10 +1960,10 @@ static void draw_hashed_plots(struct graph_info *ginfo) * added with arbitrary numbers, and a pevent_other_id * which uses id ranges x < . < y to parse cids or lids */ - if (list->plot->type == PLOT_TYPE_SERVER_TASK || - list->plot->type == PLOT_TYPE_SERVER_CPU) { + /* if (list->plot->type == PLOT_TYPE_SERVER_TASK || */ + /* list->plot->type == PLOT_TYPE_SERVER_CPU) { */ draw_plot(ginfo, list->plot, record); - } + /* } */ } free_record(record); } -- cgit v1.2.2