Message ID | 1453715801-7732-36-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 4e03a20..dcb6ae3 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)