Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-buildid-cache.c52 static bool same_kallsyms_reloc(const char *from_dir, char *to_dir) in same_kallsyms_reloc() argument
61 scnprintf(to, sizeof(to), "%s/kallsyms", to_dir); in same_kallsyms_reloc()
78 static int build_id_cache__kcore_existing(const char *from_dir, char *to_dir, in build_id_cache__kcore_existing() argument
88 d = opendir(to_dir); in build_id_cache__kcore_existing()
100 scnprintf(to, sizeof(to), "%s/%s/modules", to_dir, in build_id_cache__kcore_existing()
103 to_dir, dent->d_name); in build_id_cache__kcore_existing()
106 strlcpy(to_dir, to_subdir, to_dir_sz); in build_id_cache__kcore_existing()
120 char from_dir[PATH_MAX], to_dir[PATH_MAX]; in build_id_cache__add_kcore() local
133 scnprintf(to_dir, sizeof(to_dir), "%s/%s/%s", in build_id_cache__add_kcore()
137 !build_id_cache__kcore_existing(from_dir, to_dir, sizeof(to_dir))) { in build_id_cache__add_kcore()
[all …]
/tools/perf/util/
Dsymbol-elf.c1894 static int kcore_copy__copy_file(const char *from_dir, const char *to_dir, in kcore_copy__copy_file() argument
1901 scnprintf(to_filename, PATH_MAX, "%s/%s", to_dir, name); in kcore_copy__copy_file()
1974 static int kcore_copy__compare_file(const char *from_dir, const char *to_dir, in kcore_copy__compare_file() argument
1981 scnprintf(to_filename, PATH_MAX, "%s/%s", to_dir, name); in kcore_copy__compare_file()
2010 int kcore_copy(const char *from_dir, const char *to_dir) in kcore_copy() argument
2024 if (kcore_copy__copy_file(from_dir, to_dir, "kallsyms")) in kcore_copy()
2027 if (kcore_copy__copy_file(from_dir, to_dir, "modules")) in kcore_copy()
2031 scnprintf(extract_filename, PATH_MAX, "%s/kcore", to_dir); in kcore_copy()
2069 if (kcore_copy__compare_file(from_dir, to_dir, "kallsyms")) in kcore_copy()
2082 kcore_copy__unlink(to_dir, "modules"); in kcore_copy()
[all …]
Dsymbol.h216 int kcore_copy(const char *from_dir, const char *to_dir);
Dsymbol-minimal.c373 const char *to_dir __maybe_unused) in kcore_copy()