diff options
Diffstat (limited to 'trace-graph.c')
-rw-r--r-- | trace-graph.c | 32 |
1 files changed, 16 insertions, 16 deletions
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) | |||
1940 | } | 1940 | } |
1941 | 1941 | ||
1942 | 1942 | ||
1943 | hash = trace_graph_plot_find_cpu(ginfo, cpu); | 1943 | /* hash = trace_graph_plot_find_cpu(ginfo, cpu); */ |
1944 | if (hash) { | 1944 | /* if (hash) { */ |
1945 | for (list = hash->plots; list; list = list->next) { | 1945 | /* for (list = hash->plots; list; list = list->next) { */ |
1946 | draw_plot(ginfo, list->plot, record); | 1946 | /* draw_plot(ginfo, list->plot, record); */ |
1947 | } | 1947 | /* } */ |
1948 | } | 1948 | /* } */ |
1949 | pid = pevent_data_pid(ginfo->pevent, record); | 1949 | /* pid = pevent_data_pid(ginfo->pevent, record); */ |
1950 | hash = trace_graph_plot_find_task(ginfo, pid); | 1950 | /* hash = trace_graph_plot_find_task(ginfo, pid); */ |
1951 | if (hash) { | 1951 | /* if (hash) { */ |
1952 | for (list = hash->plots; list; list = list->next) { | 1952 | /* for (list = hash->plots; list; list = list->next) { */ |
1953 | draw_plot(ginfo, list->plot, record); | 1953 | /* draw_plot(ginfo, list->plot, record); */ |
1954 | } | 1954 | /* } */ |
1955 | } | 1955 | /* } */ |
1956 | for (list = ginfo->all_recs; list; list = list->next) { | 1956 | for (list = ginfo->all_recs; list; list = list->next) { |
1957 | /* TODO: hacky assumption that everything else can be | 1957 | /* TODO: hacky assumption that everything else can be |
1958 | * reached via previous hashes | 1958 | * reached via previous hashes |
@@ -1960,10 +1960,10 @@ static void draw_hashed_plots(struct graph_info *ginfo) | |||
1960 | * added with arbitrary numbers, and a pevent_other_id | 1960 | * added with arbitrary numbers, and a pevent_other_id |
1961 | * which uses id ranges x < . < y to parse cids or lids | 1961 | * which uses id ranges x < . < y to parse cids or lids |
1962 | */ | 1962 | */ |
1963 | if (list->plot->type == PLOT_TYPE_SERVER_TASK || | 1963 | /* if (list->plot->type == PLOT_TYPE_SERVER_TASK || */ |
1964 | list->plot->type == PLOT_TYPE_SERVER_CPU) { | 1964 | /* list->plot->type == PLOT_TYPE_SERVER_CPU) { */ |
1965 | draw_plot(ginfo, list->plot, record); | 1965 | draw_plot(ginfo, list->plot, record); |
1966 | } | 1966 | /* } */ |
1967 | } | 1967 | } |
1968 | free_record(record); | 1968 | free_record(record); |
1969 | } | 1969 | } |