Home
last modified time | relevance | path

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

/tools/perf/util/
Ddata.c186 char oldname[PATH_MAX]; in check_backup() local
189 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup()
192 ret = rm_rf_perf_data(oldname); in check_backup()
197 oldname); in check_backup()
201 if (rename(data->path, oldname)) { in check_backup()
204 data->path, oldname); in check_backup()
/tools/perf/
Dbuiltin-trace.c3881 char oldname[PATH_MAX]; in trace__open_output() local
3883 scnprintf(oldname, sizeof(oldname), "%s.old", filename); in trace__open_output()
3884 unlink(oldname); in trace__open_output()
3885 rename(filename, oldname); in trace__open_output()