diff options
Diffstat (limited to 'tools/perf/builtin-timechart.c')
-rw-r--r-- | tools/perf/builtin-timechart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c index 3f45b8b24e3d..23b3f09d19aa 100644 --- a/tools/perf/builtin-timechart.c +++ b/tools/perf/builtin-timechart.c | |||
@@ -827,15 +827,15 @@ static void draw_process_bars(void) | |||
827 | continue; | 827 | continue; |
828 | } | 828 | } |
829 | 829 | ||
830 | svg_box(Y, p->start_time, p->end_time, "process"); | 830 | svg_box(Y, c->start_time, c->end_time, "process"); |
831 | sample = c->samples; | 831 | sample = c->samples; |
832 | while (sample) { | 832 | while (sample) { |
833 | if (sample->type == TYPE_RUNNING) | 833 | if (sample->type == TYPE_RUNNING) |
834 | svg_sample(Y, sample->cpu, sample->start_time, sample->end_time, "sample"); | 834 | svg_sample(Y, sample->cpu, sample->start_time, sample->end_time); |
835 | if (sample->type == TYPE_BLOCKED) | 835 | if (sample->type == TYPE_BLOCKED) |
836 | svg_box(Y, sample->start_time, sample->end_time, "blocked"); | 836 | svg_box(Y, sample->start_time, sample->end_time, "blocked"); |
837 | if (sample->type == TYPE_WAITING) | 837 | if (sample->type == TYPE_WAITING) |
838 | svg_box(Y, sample->start_time, sample->end_time, "waiting"); | 838 | svg_waiting(Y, sample->start_time, sample->end_time); |
839 | sample = sample->next; | 839 | sample = sample->next; |
840 | } | 840 | } |
841 | 841 | ||