summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-timechart.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-timechart.c')
-rw-r--r--tools/perf/builtin-timechart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index f5f70c83d304..7d6a6ecf4e02 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -557,7 +557,7 @@ static int process_sample_event(struct perf_tool *tool,
557{ 557{
558 struct timechart *tchart = container_of(tool, struct timechart, tool); 558 struct timechart *tchart = container_of(tool, struct timechart, tool);
559 559
560 if (evsel->attr.sample_type & PERF_SAMPLE_TIME) { 560 if (evsel->core.attr.sample_type & PERF_SAMPLE_TIME) {
561 if (!tchart->first_time || tchart->first_time > sample->time) 561 if (!tchart->first_time || tchart->first_time > sample->time)
562 tchart->first_time = sample->time; 562 tchart->first_time = sample->time;
563 if (tchart->last_time < sample->time) 563 if (tchart->last_time < sample->time)