Message ID | 1456479154-136027-26-git-send-email-wangnan0@huawei.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 897d720..0092e54 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -1349,6 +1349,9 @@ int cmd_record(int argc, const char **argv, const char *prefix __maybe_unused) return -EINVAL; } + if (rec->switch_output) + rec->timestamp_filename = true; + if (!rec->itr) { rec->itr = auxtrace_record__init(rec->evlist, &err); if (err)