aboutsummaryrefslogtreecommitdiffstats
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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index 23b3f09d19aa..600406396274 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -915,9 +915,9 @@ static void write_svg_file(const char *filename)
915 if (count < 15) 915 if (count < 15)
916 count = determine_display_tasks(TIME_THRESH / 10); 916 count = determine_display_tasks(TIME_THRESH / 10);
917 917
918 open_svg(filename, numcpus, count); 918 open_svg(filename, numcpus, count, first_time, last_time);
919 919
920 svg_time_grid(first_time, last_time); 920 svg_time_grid();
921 svg_legenda(); 921 svg_legenda();
922 922
923 for (i = 0; i < numcpus; i++) 923 for (i = 0; i < numcpus; i++)
@@ -1132,6 +1132,8 @@ static const struct option options[] = {
1132 "input file name"), 1132 "input file name"),
1133 OPT_STRING('o', "output", &output_name, "file", 1133 OPT_STRING('o', "output", &output_name, "file",
1134 "output file name"), 1134 "output file name"),
1135 OPT_INTEGER('w', "width", &svg_page_width,
1136 "page width"),
1135 OPT_END() 1137 OPT_END()
1136}; 1138};
1137 1139