Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/tools/perf/util/
Dsymbol-elf.c1747 static int kcore_copy__copy_file(const char *from_dir, const char *to_dir, in kcore_copy__copy_file() argument
1754 scnprintf(to_filename, PATH_MAX, "%s/%s", to_dir, name); in kcore_copy__copy_file()
1827 static int kcore_copy__compare_file(const char *from_dir, const char *to_dir, in kcore_copy__compare_file() argument
1834 scnprintf(to_filename, PATH_MAX, "%s/%s", to_dir, name); in kcore_copy__compare_file()
1863 int kcore_copy(const char *from_dir, const char *to_dir) in kcore_copy() argument
1877 if (kcore_copy__copy_file(from_dir, to_dir, "kallsyms")) in kcore_copy()
1880 if (kcore_copy__copy_file(from_dir, to_dir, "modules")) in kcore_copy()
1884 scnprintf(extract_filename, PATH_MAX, "%s/kcore", to_dir); in kcore_copy()
1922 if (kcore_copy__compare_file(from_dir, to_dir, "modules")) in kcore_copy()
1925 if (kcore_copy__compare_file(from_dir, to_dir, "kallsyms")) in kcore_copy()
[all …]
Dsymbol.h219 int kcore_copy(const char *from_dir, const char *to_dir);
Dsymbol-minimal.c372 const char *to_dir __maybe_unused) in kcore_copy()