The command to generate perf trace output is "perf script", not what
I had in the previous patch which was a think-o during cleanup for
upstream.

Change-Id: Ib981db31dffc9f6d87d1bc6c6a26182aecca8847
Signed-off-by: Scott James Remnant <[email protected]>
---
 client/profilers/perf/perf.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/profilers/perf/perf.py b/client/profilers/perf/perf.py
index b9ad34f..69c74a2 100644
--- a/client/profilers/perf/perf.py
+++ b/client/profilers/perf/perf.py
@@ -65,7 +65,7 @@ class perf(profiler.profiler):
 
         if self.trace:
             tracefile = os.path.join(test.profdir, 'trace')
-            cmd = ("%s trace -i %s" % (self.perf_bin, self.logfile,))
+            cmd = ("%s script -i %s" % (self.perf_bin, self.logfile,))
 
             outfile = open(tracefile, 'w')
             p = subprocess.Popen(cmd, shell=True, stdout=outfile,
-- 
1.7.3.1

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to