summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r--tools/perf/builtin-record.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 3b570e808b31..b205c1340456 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -926,15 +926,6 @@ static int __cmd_record(struct record *rec, int argc, const char **argv)
}
}
- /*
- * If we have just single event and are sending data
- * through pipe, we need to force the ids allocation,
- * because we synthesize event name through the pipe
- * and need the id for that.
- */
- if (data->is_pipe && rec->evlist->nr_entries == 1)
- rec->opts.sample_id = true;
-
if (record__open(rec) != 0) {
err = -1;
goto out_child;