Home
last modified time | relevance | path

Searched refs:new_filepath (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/tools/perf/util/
Ddata.c154 char *new_filepath; in perf_data__switch() local
162 if (asprintf(&new_filepath, "%s.%s", data->file.path, postfix) < 0) in perf_data__switch()
169 if (rename(data->file.path, new_filepath)) in perf_data__switch()
170 pr_warning("Failed to rename %s to %s\n", data->file.path, new_filepath); in perf_data__switch()
187 free(new_filepath); in perf_data__switch()