diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-10-27 08:25:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-27 08:25:15 +0200 |
commit | e25804a0327dad954f7d43803178fdef2fd35b4e (patch) | |
tree | 401358b7c5abc09b93cec081213541caa0764c82 /tools/perf/builtin-trace.c | |
parent | 5c16d2c813a7490408e966f52b881e70fc8d7f77 (diff) | |
parent | 00204c3396469f407bac56e1475ea16e4a279b13 (diff) | |
download | op-kernel-dev-e25804a0327dad954f7d43803178fdef2fd35b4e.zip op-kernel-dev-e25804a0327dad954f7d43803178fdef2fd35b4e.tar.gz |
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/urgent
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index deda1a9..2f8df45 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -625,12 +625,13 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used) dup2(live_pipe[1], 1); close(live_pipe[0]); - __argv = malloc(5 * sizeof(const char *)); + __argv = malloc(6 * sizeof(const char *)); __argv[0] = "/bin/sh"; __argv[1] = record_script_path; - __argv[2] = "-o"; - __argv[3] = "-"; - __argv[4] = NULL; + __argv[2] = "-q"; + __argv[3] = "-o"; + __argv[4] = "-"; + __argv[5] = NULL; execvp("/bin/sh", (char **)__argv); exit(-1); |