Searched refs:buildid_dir (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/tools/perf/util/ |
D | config.c | 38 char buildid_dir[MAXPATHLEN]; /* root dir for buildid, binary cache */ variable 430 strncpy(buildid_dir, dir, MAXPATHLEN-1); in perf_buildid_config() 431 buildid_dir[MAXPATHLEN-1] = '\0'; in perf_buildid_config() 894 scnprintf(buildid_dir, MAXPATHLEN, "%s", dir); in set_buildid_dir() 897 if (buildid_dir[0] == '\0') { in set_buildid_dir() 901 snprintf(buildid_dir, MAXPATHLEN, "%s/%s", in set_buildid_dir() 904 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1); in set_buildid_dir() 906 buildid_dir[MAXPATHLEN-1] = '\0'; in set_buildid_dir() 909 setenv("PERF_BUILDID_DIR", buildid_dir, 1); in set_buildid_dir()
|
D | build-id.c | 172 buildid_dir, DSO__NAME_KALLSYMS, sbuild_id); in build_id_cache__kallsyms_path() 179 buildid_dir, DSO__NAME_KALLSYMS, sbuild_id); in build_id_cache__kallsyms_path() 190 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname() 467 if (asprintf(&topdir, "%s/.build-id/", buildid_dir) < 0) in build_id_cache__list_all() 576 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() 942 if (mkdir(buildid_dir, 0755) != 0 && errno != EEXIST) in __perf_session__cache_build_ids()
|
D | build-id.h | 75 extern char buildid_dir[];
|
D | symbol.c | 2202 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms()
|
/linux-5.19.10/tools/perf/ |
D | builtin-buildid-cache.c | 135 buildid_dir, DSO__NAME_KCORE, sbuildid); in build_id_cache__add_kcore() 147 buildid_dir, DSO__NAME_KCORE, sbuildid, dir); in build_id_cache__add_kcore()
|
/linux-5.19.10/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 4786 self.buildid_dir = os.getenv("PERF_BUILDID_DIR") 4787 if self.buildid_dir: 4788 self.buildid_dir += "/.build-id/" 4790 self.buildid_dir = self.home_dir + "/.debug/.build-id/" 4804 file_name = self.buildid_dir + build_id[0:2] + "/" + build_id[2:] + "/elf"
|