diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-02-29 16:48:00 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-03-01 09:00:46 +0000 |
commit | 77a798298ffc8db5ecf6e40e8b371426fa025dcb (patch) | |
tree | d0870a94e307f8b2a38f405ec37eb324f8ccce71 | |
parent | af3ab8ec0213a40d90f3d58a8a65a944b0cd753e (diff) |
Don't join application arguments when running in perf mode
... otherwise we get "command not found".
Change-Id: I9f471d8b7021df83f0c09c3f06addb977f17353c
Task-number: QCE-67
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -501,7 +501,7 @@ int main(int argc, char **argv) QStringList allArgs; allArgs << QLatin1String("perf") << QLatin1String("record") << perfParams << QLatin1String("-o") << QLatin1String("-") - << QLatin1String("--") << defaultArgs.join(QLatin1Char(' ')); + << QLatin1String("--") << defaultArgs; PerfProcessHandler *server = new PerfProcessHandler(&process, allArgs); int port = openServer(server->server(), range); |