aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-graph.c b/trace-graph.c
index f940874..a53ab84 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -2413,6 +2413,8 @@ static int load_handle(struct graph_info *ginfo,
2413 2413
2414 free_record(record); 2414 free_record(record);
2415 record = tracecmd_read_cpu_last(handle, cpu); 2415 record = tracecmd_read_cpu_last(handle, cpu);
2416 if (!record)
2417 continue;
2416 2418
2417 if (record->ts > ginfo->end_time) 2419 if (record->ts > ginfo->end_time)
2418 ginfo->end_time = record->ts; 2420 ginfo->end_time = record->ts;