perf timechart: Fix rendering in Firefox
authorStanislav Fomichev <stfomichev@yandex-team.ru>
Tue, 8 Jul 2014 16:03:40 +0000 (20:03 +0400)
committerJiri Olsa <jolsa@kernel.org>
Wed, 9 Jul 2014 22:22:53 +0000 (00:22 +0200)
commitf8dda74fb4139f026571b46d8d17f67e75aa157c
tree131aaa79cdfaa519313d98ebb0097dc51d6589f5
parent8b5b584daf3b92fc5cdc83919e64231817d2f5a7
perf timechart: Fix rendering in Firefox

Firefox doesn't correctly handle cases where we specify number in
quotes and have some padding around the number, like the following:
<rect ... height=" 3.1" ...>
In this case, it doesn't draw the figure. This patch removes 'field width'
component from fprintf strings to fix it.

Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/1404835423-23098-2-git-send-email-stfomichev@yandex-team.ru
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/svghelper.c