Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Ddata.c417 char **new_filepath) in perf_data__switch() argument
424 if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0) in perf_data__switch()
431 if (rename(data->path, *new_filepath)) in perf_data__switch()
432 pr_warning("Failed to rename %s to %s\n", data->path, *new_filepath); in perf_data__switch()
H A Ddata.h95 size_t pos, bool at_exit, char **new_filepath);