diff options
Diffstat (limited to 'tools/perf/builtin-timechart.c')
-rw-r--r-- | tools/perf/builtin-timechart.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c index 0bda620a717d..d955095b6d63 100644 --- a/tools/perf/builtin-timechart.c +++ b/tools/perf/builtin-timechart.c | |||
@@ -837,8 +837,14 @@ static void draw_cpu_usage(struct timechart *tchart) | |||
837 | while (c) { | 837 | while (c) { |
838 | sample = c->samples; | 838 | sample = c->samples; |
839 | while (sample) { | 839 | while (sample) { |
840 | if (sample->type == TYPE_RUNNING) | 840 | if (sample->type == TYPE_RUNNING) { |
841 | svg_process(sample->cpu, sample->start_time, sample->end_time, "sample", c->comm); | 841 | svg_process(sample->cpu, |
842 | sample->start_time, | ||
843 | sample->end_time, | ||
844 | "sample", | ||
845 | c->comm, | ||
846 | sample->backtrace); | ||
847 | } | ||
842 | 848 | ||
843 | sample = sample->next; | 849 | sample = sample->next; |
844 | } | 850 | } |