Lines Matching refs:root_dir
119 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument
125 if (!root_dir) in sysfs__sprintf_build_id()
126 root_dir = ""; in sysfs__sprintf_build_id()
128 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__sprintf_build_id()
626 const char *root_dir) in build_id_cache__find_debug() argument
639 if (root_dir) { in build_id_cache__find_debug()
640 path__join(dirbuf, PATH_MAX, root_dir, dirname); in build_id_cache__find_debug()
680 const char *proper_name, const char *root_dir) in build_id_cache__add() argument
734 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add()
802 const char *proper_name, const char *root_dir) in __build_id_cache__add_s() argument
817 is_kallsyms, is_vdso, proper_name, root_dir); in __build_id_cache__add_s()
828 const char *root_dir) in build_id_cache__add_b() argument
835 is_vdso, proper_name, root_dir); in build_id_cache__add_b()
923 const char *root_dir = NULL; in dso__cache_build_id() local
936 if (*machine->root_dir) { in dso__cache_build_id()
937 root_dir = machine->root_dir; in dso__cache_build_id()
938 ret = asprintf(&allocated_name, "%s/%s", root_dir, name); in dso__cache_build_id()
954 is_kallsyms, is_vdso, proper_name, root_dir); in dso__cache_build_id()