perf evlist: Do not pass struct record_opts to perf_evlist__prepare_workload()
[linux-3.10.git] / tools / perf / builtin-trace.c
index 1de3971..3d9944c 100644 (file)
@@ -462,7 +462,7 @@ static int trace__run(struct trace *trace, int argc, const char **argv)
 
        if (forks) {
                err = perf_evlist__prepare_workload(evlist, &trace->opts.target,
-                                                   &trace->opts, argv);
+                                                   argv, false);
                if (err < 0) {
                        printf("Couldn't run the workload!\n");
                        goto out_delete_evlist;