path: root/tools/perf/Documentation/perf-timechart.txt
diff options
authorArjan van de Ven <>2009-09-24 15:40:13 +0200
committerIngo Molnar <>2009-10-01 09:26:40 +0200
commit39a90a8ef17fe6fbf4b45e46e3c10d3b8b4a3dea (patch)
tree8aa8c5b0486d1d2cedace07bcb9e42189b4ccda5 /tools/perf/Documentation/perf-timechart.txt
parent8357275bb919d91093bc5a959932ef7b1ea816e8 (diff)
perf timechart: Add a power-only mode
For doing work on the Linux power management components, I need to make long (30+ seconds) traces. Currently, this then results in a HUGE svg file, with mostly process data that isn't interesting. This patch adds a --power-only mode to perf timechart that only outputs the CPU power section of the SVG; this significantly reduces the size of the SVG file, making even 30+ second traces viewable with inkscape. As a minor tweak for the same effect, the minimum text size is decreased; current inkscape cannot zoom in deep enough to show text this small, but it reduces inkscape compute time. Signed-off-by: Arjan van de Ven <> Cc: LKML-Reference: <> Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/Documentation/perf-timechart.txt')
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-timechart.txt b/tools/perf/Documentation/perf-timechart.txt
index 1c2ed3090cce..a7910099d6fd 100644
--- a/tools/perf/Documentation/perf-timechart.txt
+++ b/tools/perf/Documentation/perf-timechart.txt
@@ -31,6 +31,9 @@ OPTIONS
Select the width of the SVG file (default: 1000)
+ Only output the CPU power section of the diagram