Lines Matching refs:root_dir
95 int sysfs__snprintf_build_id(const char *root_dir, char *sbuild_id, size_t sbuild_id_size) in sysfs__snprintf_build_id() argument
101 if (!root_dir) in sysfs__snprintf_build_id()
102 root_dir = ""; in sysfs__snprintf_build_id()
104 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__snprintf_build_id()
574 const char *root_dir) in build_id_cache__find_debug() argument
587 if (root_dir) { in build_id_cache__find_debug()
588 path__join(dirbuf, PATH_MAX, root_dir, dirname); in build_id_cache__find_debug()
628 const char *proper_name, const char *root_dir) in build_id_cache__add() argument
682 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add()
750 const char *proper_name, const char *root_dir) in __build_id_cache__add_s() argument
765 is_kallsyms, is_vdso, proper_name, root_dir); in __build_id_cache__add_s()
776 const char *root_dir) in build_id_cache__add_b() argument
783 is_vdso, proper_name, root_dir); in build_id_cache__add_b()
871 const char *root_dir = NULL; in dso__cache_build_id() local
884 if (*machine->root_dir) { in dso__cache_build_id()
885 root_dir = machine->root_dir; in dso__cache_build_id()
886 ret = asprintf(&allocated_name, "%s/%s", root_dir, name); in dso__cache_build_id()
902 is_kallsyms, is_vdso, proper_name, root_dir); in dso__cache_build_id()