diff options
Diffstat (limited to 'trace-graph.c')
-rw-r--r-- | trace-graph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trace-graph.c b/trace-graph.c index c2f3574..58baf79 100644 --- a/trace-graph.c +++ b/trace-graph.c | |||
@@ -1915,7 +1915,7 @@ static void draw_hashed_plots(struct graph_info *ginfo) | |||
1915 | rt_graph_check_server_param(ARG, &dint, &dull, &dull); | 1915 | rt_graph_check_server_param(ARG, &dint, &dull, &dull); |
1916 | #undef ARG | 1916 | #undef ARG |
1917 | if (rt_graph_check_sys_release(ginfo, record, &rel)) { | 1917 | if (rt_graph_check_sys_release(ginfo, record, &rel)) { |
1918 | min_time = rel + ginfo->rtg_info.start_offset * NSECS_PER_SEC; | 1918 | min_time = rel; |
1919 | ginfo->rtg_info.start_time = min_time; | 1919 | ginfo->rtg_info.start_time = min_time; |
1920 | ginfo->view_start_time = min_time; | 1920 | ginfo->view_start_time = min_time; |
1921 | ginfo->start_time = min_time; | 1921 | ginfo->start_time = min_time; |
@@ -2542,7 +2542,7 @@ static int load_handle(struct graph_info *ginfo, | |||
2542 | continue; | 2542 | continue; |
2543 | 2543 | ||
2544 | if (record->ts < ginfo->start_time) | 2544 | if (record->ts < ginfo->start_time) |
2545 | ginfo->start_time = record->ts; | 2545 | ginfo->start_time = get_rts(ginfo, record); |
2546 | 2546 | ||
2547 | free_record(record); | 2547 | free_record(record); |
2548 | record = tracecmd_read_cpu_last(handle, cpu); | 2548 | record = tracecmd_read_cpu_last(handle, cpu); |
@@ -2550,7 +2550,7 @@ static int load_handle(struct graph_info *ginfo, | |||
2550 | continue; | 2550 | continue; |
2551 | 2551 | ||
2552 | if (record->ts > ginfo->end_time) | 2552 | if (record->ts > ginfo->end_time) |
2553 | ginfo->end_time = record->ts; | 2553 | ginfo->end_time = get_rts(ginfo, record); |
2554 | free_record(record); | 2554 | free_record(record); |
2555 | } | 2555 | } |
2556 | 2556 | ||