/kernel/linux/linux-5.10/tools/perf/util/ |
D | build-id.c | 116 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument 131 return build_id__sprintf(&bid, sbuild_id); in sysfs__sprintf_build_id() 134 int filename__sprintf_build_id(const char *pathname, char *sbuild_id) in filename__sprintf_build_id() argument 143 return build_id__sprintf(&bid, sbuild_id); in filename__sprintf_build_id() 165 char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf, in build_id_cache__kallsyms_path() argument 171 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() 186 char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size) in build_id_cache__linkname() argument 190 sbuild_id, sbuild_id + 2); in build_id_cache__linkname() 197 char *build_id_cache__origname(const char *sbuild_id) in build_id_cache__origname() argument [all …]
|
D | build-id.h | 24 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id); 25 int filename__sprintf_build_id(const char *pathname, char *sbuild_id); 26 char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf, 47 char *build_id_cache__origname(const char *sbuild_id); 48 char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size); 49 char *build_id_cache__cachedir(const char *sbuild_id, const char *name, 59 bool build_id_cache__cached(const char *sbuild_id); 60 int build_id_cache__add_s(const char *sbuild_id, 63 int build_id_cache__remove_s(const char *sbuild_id);
|
D | dsos.c | 290 char sbuild_id[SBUILD_ID_SIZE]; in __dsos__fprintf_buildid() local 294 build_id__sprintf(&pos->bid, sbuild_id); in __dsos__fprintf_buildid() 295 ret += fprintf(fp, "%-40s %s\n", sbuild_id, pos->long_name); in __dsos__fprintf_buildid()
|
D | probe-finder.h | 64 int find_source_path(const char *raw_path, const char *sbuild_id,
|
D | probe-finder.c | 956 char sbuild_id[SBUILD_ID_SIZE] = ""; in find_probe_point_lazy() local 966 build_id__sprintf(&bid, sbuild_id); in find_probe_point_lazy() 968 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 1994 const char *sbuild_id, char **new_path) in get_source_from_debuginfod() argument 2003 fd = debuginfod_find_source(c, (const unsigned char *)sbuild_id, in get_source_from_debuginfod() 2011 raw_path, sbuild_id); in get_source_from_debuginfod() 2020 const char *sbuild_id __maybe_unused, in get_source_from_debuginfod() 2032 int find_source_path(const char *raw_path, const char *sbuild_id, in find_source_path() argument 2037 if (sbuild_id && !prefix) { in find_source_path() 2038 if (!get_source_from_debuginfod(raw_path, sbuild_id, new_path)) in find_source_path()
|
D | map.c | 331 char sbuild_id[SBUILD_ID_SIZE]; in map__load() local 333 build_id__sprintf(&map->dso->bid, sbuild_id); in map__load() 334 pr_debug("%s with build id %s not found", name, sbuild_id); in map__load()
|
D | dso.c | 1386 char sbuild_id[SBUILD_ID_SIZE]; in dso__fprintf_buildid() local 1388 build_id__sprintf(&dso->bid, sbuild_id); in dso__fprintf_buildid() 1389 return fprintf(fp, "%s", sbuild_id); in dso__fprintf_buildid()
|
D | symbol.c | 2134 char sbuild_id[SBUILD_ID_SIZE]; in dso__find_kallsyms() local 2163 build_id__sprintf(&dso->bid, sbuild_id); in dso__find_kallsyms() 2167 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms() 2179 if (!build_id_cache__kallsyms_path(sbuild_id, path, sizeof(path))) { in dso__find_kallsyms() 2181 sbuild_id); in dso__find_kallsyms()
|
D | probe-event.c | 469 char sbuild_id[SBUILD_ID_SIZE + 1]; in open_from_debuginfod() local 478 build_id__sprintf(&dso->bid, sbuild_id); in open_from_debuginfod() 479 fd = debuginfod_find_debuginfo(c, (const unsigned char *)sbuild_id, in open_from_debuginfod() 1018 char sbuild_id[SBUILD_ID_SIZE] = ""; in __show_line_range() local 1033 build_id__sprintf(&bid, sbuild_id); in __show_line_range() 1046 ret = find_source_path(tmp, sbuild_id, lr->comp_dir, &lr->path); in __show_line_range()
|
D | header.c | 2084 char sbuild_id[SBUILD_ID_SIZE]; in __event_process_build_id() local 2104 build_id__sprintf(&dso->bid, sbuild_id); in __event_process_build_id() 2106 dso->long_name, sbuild_id, size); in __event_process_build_id()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-buildid-list.c | 25 char sbuild_id[SBUILD_ID_SIZE]; in sysfs__fprintf_build_id() local 28 ret = sysfs__sprintf_build_id("/", sbuild_id); in sysfs__fprintf_build_id() 29 if (ret != sizeof(sbuild_id)) in sysfs__fprintf_build_id() 32 return fprintf(fp, "%s\n", sbuild_id); in sysfs__fprintf_build_id() 37 char sbuild_id[SBUILD_ID_SIZE]; in filename__fprintf_build_id() local 40 ret = filename__sprintf_build_id(name, sbuild_id); in filename__fprintf_build_id() 41 if (ret != sizeof(sbuild_id)) in filename__fprintf_build_id() 44 return fprintf(fp, "%s\n", sbuild_id); in filename__fprintf_build_id()
|
D | builtin-buildid-cache.c | 176 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__add_file() local 189 build_id__sprintf(&bid, sbuild_id); in build_id_cache__add_file() 190 err = build_id_cache__add_s(sbuild_id, filename, nsi, in build_id_cache__add_file() 192 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file() 199 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__remove_file() local 213 build_id__sprintf(&bid, sbuild_id); in build_id_cache__remove_file() 214 err = build_id_cache__remove_s(sbuild_id); in build_id_cache__remove_file() 215 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file() 302 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__update_file() local 317 build_id__sprintf(&bid, sbuild_id); in build_id_cache__update_file() [all …]
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | sdt.c | 30 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__add_file() local 40 build_id__sprintf(&bid, sbuild_id); in build_id_cache__add_file() 41 err = build_id_cache__add_s(sbuild_id, filename, NULL, false, false); in build_id_cache__add_file()
|
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1080 char sbuild_id[SBUILD_ID_SIZE]; in python_export_dso() local 1083 build_id__sprintf(&dso->bid, sbuild_id); in python_export_dso() 1091 tuple_set_string(t, 4, sbuild_id); in python_export_dso()
|