[PATCH] perf timechart: Work around commit 42e59d7d19dc4b4
From: Arjan van de Ven
Date: Wed Oct 07 2009 - 15:27:07 EST
Commit 42e59d7d19dc4b4 introduced a sample frequency framework..
.. however it unfortunately changed how perf events get recorded,
and caused timechart to miss events to the point that timechart
became useless.
This patch causes the timechart code to use -F 0 to not use the
new framework when recording timechart data.
Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
---
tools/perf/builtin-timechart.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index 702d8fe..e5bda76 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -1105,6 +1105,7 @@ static const char *record_args[] = {
"-M",
"-f",
"-c", "1",
+ "-F", "0",
"-e", "power:power_start",
"-e", "power:power_end",
"-e", "power:power_frequency",
--
1.6.0.6
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/