Home
last modified time | relevance | path

Searched refs:buildid_dir (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/
Dconfig.c37 char buildid_dir[MAXPATHLEN]; /* root dir for buildid, binary cache */ variable
417 strncpy(buildid_dir, dir, MAXPATHLEN-1); in perf_buildid_config()
418 buildid_dir[MAXPATHLEN-1] = '\0'; in perf_buildid_config()
825 scnprintf(buildid_dir, MAXPATHLEN, "%s", dir); in set_buildid_dir()
828 if (buildid_dir[0] == '\0') { in set_buildid_dir()
832 snprintf(buildid_dir, MAXPATHLEN, "%s/%s", in set_buildid_dir()
835 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1); in set_buildid_dir()
837 buildid_dir[MAXPATHLEN-1] = '\0'; in set_buildid_dir()
840 setenv("PERF_BUILDID_DIR", buildid_dir, 1); in set_buildid_dir()
Dbuild-id.h55 extern char buildid_dir[];
Dbuild-id.c166 buildid_dir, DSO__NAME_KALLSYMS, sbuild_id); in build_id_cache__kallsyms_path()
173 buildid_dir, DSO__NAME_KALLSYMS, sbuild_id); in build_id_cache__kallsyms_path()
184 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
451 if (asprintf(&topdir, "%s/.build-id/", buildid_dir) < 0) in build_id_cache__list_all()
560 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
732 tmp = dir_name + strlen(buildid_dir) - 5; in build_id_cache__add_s()
855 if (mkdir(buildid_dir, 0755) != 0 && errno != EEXIST) in perf_session__cache_build_ids()
Dsymbol.c1968 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms()
/tools/perf/
Dbuiltin-buildid-cache.c134 buildid_dir, DSO__NAME_KCORE, sbuildid); in build_id_cache__add_kcore()
146 buildid_dir, DSO__NAME_KCORE, sbuildid, dir); in build_id_cache__add_kcore()
/tools/perf/scripts/python/
Dexported-sql-viewer.py3469 self.buildid_dir = os.getenv("PERF_BUILDID_DIR")
3470 if self.buildid_dir:
3471 self.buildid_dir += "/.build-id/"
3473 self.buildid_dir = self.home_dir + "/.debug/.build-id/"
3484 file_name = self.buildid_dir + build_id[0:2] + "/" + build_id[2:] + "/elf"