Searched refs:from_dir (Results 1 – 5 of 5) sorted by relevance
/tools/perf/ |
D | builtin-buildid-cache.c | 52 static bool same_kallsyms_reloc(const char *from_dir, char *to_dir) in same_kallsyms_reloc() argument 60 scnprintf(from, sizeof(from), "%s/kallsyms", from_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 92 scnprintf(from, sizeof(from), "%s/modules", from_dir); in build_id_cache__kcore_existing() 105 same_kallsyms_reloc(from_dir, to_subdir)) { in build_id_cache__kcore_existing() 120 char from_dir[PATH_MAX], to_dir[PATH_MAX]; in build_id_cache__add_kcore() local 123 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore() 125 p = strrchr(from_dir, '/'); in build_id_cache__add_kcore() 130 if (build_id_cache__kcore_buildid(from_dir, sbuildid) < 0) 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 …]
|
D | builtin-record.c | 825 char from_dir[PATH_MAX]; in record__kcore_copy() local 829 snprintf(from_dir, sizeof(from_dir), "%s/proc", machine->root_dir); in record__kcore_copy() 835 return kcore_copy(from_dir, kcore_dir); in record__kcore_copy()
|
/tools/perf/util/ |
D | symbol-elf.c | 1894 static int kcore_copy__copy_file(const char *from_dir, const char *to_dir, in kcore_copy__copy_file() argument 1900 scnprintf(from_filename, PATH_MAX, "%s/%s", from_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 1980 scnprintf(from_filename, PATH_MAX, "%s/%s", from_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() 2030 scnprintf(kcore_filename, PATH_MAX, "%s/kcore", from_dir); in kcore_copy() 2036 if (kcore_copy__calc_maps(&kci, from_dir, kcore.elf)) in kcore_copy() 2069 if (kcore_copy__compare_file(from_dir, to_dir, "kallsyms")) in kcore_copy()
|
D | symbol.h | 216 int kcore_copy(const char *from_dir, const char *to_dir);
|
D | symbol-minimal.c | 372 int kcore_copy(const char *from_dir __maybe_unused, in kcore_copy()
|