Lines Matching refs:root_dir
87 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument
93 if (!root_dir) in sysfs__sprintf_build_id()
94 root_dir = ""; in sysfs__sprintf_build_id()
96 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__sprintf_build_id()
566 const char *root_dir) in build_id_cache__find_debug() argument
579 if (root_dir) { in build_id_cache__find_debug()
580 path__join(dirbuf, PATH_MAX, root_dir, dirname); in build_id_cache__find_debug()
620 const char *proper_name, const char *root_dir) in build_id_cache__add() argument
674 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add()
742 const char *proper_name, const char *root_dir) in __build_id_cache__add_s() argument
757 is_kallsyms, is_vdso, proper_name, root_dir); in __build_id_cache__add_s()
768 const char *root_dir) in build_id_cache__add_b() argument
775 is_vdso, proper_name, root_dir); in build_id_cache__add_b()
863 const char *root_dir = NULL; in dso__cache_build_id() local
876 if (*machine->root_dir) { in dso__cache_build_id()
877 root_dir = machine->root_dir; in dso__cache_build_id()
878 ret = asprintf(&allocated_name, "%s/%s", root_dir, name); in dso__cache_build_id()
894 is_kallsyms, is_vdso, proper_name, root_dir); in dso__cache_build_id()