Commit 57c8f107 authored by Yang Jihong's avatar Yang Jihong Committed by Namhyung Kim

perf data: Minor code style alignment cleanup

Minor code style alignment cleanup for perf_data__switch() and
perf_data__write().

No functional change.
Signed-off-by: default avatarYang Jihong <yangjihong1@huawei.com>
Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240119040304.3708522-4-yangjihong1@huawei.comSigned-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 02f9b50e
...@@ -1860,9 +1860,10 @@ record__switch_output(struct record *rec, bool at_exit) ...@@ -1860,9 +1860,10 @@ record__switch_output(struct record *rec, bool at_exit)
rec->session->header.data_size = 0; rec->session->header.data_size = 0;
} }
if (!quiet) if (!quiet) {
fprintf(stderr, "[ perf record: Dump %s.%s ]\n", fprintf(stderr, "[ perf record: Dump %s.%s ]\n",
data->path, timestamp); data->path, timestamp);
}
if (rec->switch_output.num_files) { if (rec->switch_output.num_files) {
int n = rec->switch_output.cur_file + 1; int n = rec->switch_output.cur_file + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment