Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dconfig.c37 char buildid_dir[MAXPATHLEN]; /* root dir for buildid, binary cache */ variable
429 strncpy(buildid_dir, dir, MAXPATHLEN-1); in perf_buildid_config()
430 buildid_dir[MAXPATHLEN-1] = '\0'; in perf_buildid_config()
849 scnprintf(buildid_dir, MAXPATHLEN, "%s", dir); in set_buildid_dir()
852 if (buildid_dir[0] == '\0') { in set_buildid_dir()
856 snprintf(buildid_dir, MAXPATHLEN, "%s/%s", in set_buildid_dir()
859 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1); in set_buildid_dir()
861 buildid_dir[MAXPATHLEN-1] = '\0'; in set_buildid_dir()
864 setenv("PERF_BUILDID_DIR", buildid_dir, 1); in set_buildid_dir()
Dbuild-id.c171 buildid_dir, DSO__NAME_KALLSYMS, sbuild_id); in build_id_cache__kallsyms_path()
178 buildid_dir, DSO__NAME_KALLSYMS, sbuild_id); in build_id_cache__kallsyms_path()
189 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
458 if (asprintf(&topdir, "%s/.build-id/", buildid_dir) < 0) in build_id_cache__list_all()
567 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
754 tmp = dir_name + strlen(buildid_dir) - 5; in build_id_cache__add_s()
877 if (mkdir(buildid_dir, 0755) != 0 && errno != EEXIST) in perf_session__cache_build_ids()
Dbuild-id.h65 extern char buildid_dir[];
Dsymbol.c2184 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexported-sql-viewer.py4873 self.buildid_dir = os.getenv("PERF_BUILDID_DIR")
4874 if self.buildid_dir:
4875 self.buildid_dir += "/.build-id/"
4877 self.buildid_dir = self.home_dir + "/.debug/.build-id/"
4891 file_name = self.buildid_dir + build_id[0:2] + "/" + build_id[2:] + "/elf"