perf evlist: Do not pass struct record_opts to perf_evlist__prepare_workload()
[linux-3.10.git] / tools / perf / builtin-record.c
index a803017..2a43c44 100644 (file)
@@ -475,7 +475,7 @@ static int __cmd_record(struct perf_record *rec, int argc, const char **argv)
 
        if (forks) {
                err = perf_evlist__prepare_workload(evsel_list, &opts->target,
-                                                   opts, argv);
+                                                   argv, opts->pipe_output);
                if (err < 0) {
                        pr_err("Couldn't run the workload!\n");
                        goto out_delete_session;