| /linux/tools/perf/util/ |
| A D | build-id.h | 26 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id); 27 int filename__sprintf_build_id(const char *pathname, char *sbuild_id); 28 char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf, 51 char *build_id_cache__origname(const char *sbuild_id); 52 char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size); 53 char *build_id_cache__cachedir(const char *sbuild_id, const char *name, 63 bool build_id_cache__cached(const char *sbuild_id); 64 int build_id_cache__add(const char *sbuild_id, const char *name, const char *realname, 67 int __build_id_cache__add_s(const char *sbuild_id, 71 static inline int build_id_cache__add_s(const char *sbuild_id, in build_id_cache__add_s() argument [all …]
|
| A D | build-id.c | 161 sbuild_id, sbuild_id + 2); in build_id_cache__linkname() 238 char sbuild_id[SBUILD_ID_SIZE]; in __dso__build_id_filename() local 396 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__list_all() local 472 char *sbuild_id = NULL; in build_id_cache__complement() local 493 sbuild_id = strdup(cand->s); in build_id_cache__complement() 496 return sbuild_id; in build_id_cache__complement() 511 sbuild_id ? "/" : "", sbuild_id ?: "") < 0) in build_id_cache__cachedir() 586 sbuild_id + 2); in build_id_cache__find_debug() 722 sbuild_id, linkname); in build_id_cache__add() 770 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__add_b() local [all …]
|
| A D | debuginfo.h | 55 int get_source_from_debuginfod(const char *raw_path, const char *sbuild_id, 59 const char *sbuild_id __maybe_unused, in get_source_from_debuginfod()
|
| A D | debuginfo.c | 181 const char *sbuild_id, char **new_path) in get_source_from_debuginfod() argument 190 fd = debuginfod_find_source(c, (const unsigned char *)sbuild_id, in get_source_from_debuginfod() 198 raw_path, sbuild_id); in get_source_from_debuginfod()
|
| A D | probe-finder.h | 47 int find_source_path(const char *raw_path, const char *sbuild_id,
|
| A D | dsos.c | 369 char sbuild_id[SBUILD_ID_SIZE]; in dsos__fprintf_buildid_cb() local 373 build_id__sprintf(dso__bid(dso), sbuild_id); in dsos__fprintf_buildid_cb() 374 args->ret += fprintf(args->fp, "%-40s %s\n", sbuild_id, dso__long_name(dso)); in dsos__fprintf_buildid_cb()
|
| A D | map.c | 355 char sbuild_id[SBUILD_ID_SIZE]; in map__load() local 357 build_id__sprintf(dso__bid(dso), sbuild_id); in map__load() 358 pr_debug("%s with build id %s not found", name, sbuild_id); in map__load()
|
| A D | probe-finder.c | 841 char sbuild_id[SBUILD_ID_SIZE] = ""; in find_probe_point_lazy() local 851 build_id__sprintf(&bid, sbuild_id); in find_probe_point_lazy() 853 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 1860 int find_source_path(const char *raw_path, const char *sbuild_id, in find_source_path() argument 1865 if (sbuild_id && !prefix) { in find_source_path() 1866 if (!get_source_from_debuginfod(raw_path, sbuild_id, new_path)) in find_source_path()
|
| A D | event.c | 327 char sbuild_id[SBUILD_ID_SIZE]; in perf_event__fprintf_mmap2() local 332 build_id__sprintf(&bid, sbuild_id); in perf_event__fprintf_mmap2() 337 event->mmap2.len, event->mmap2.pgoff, sbuild_id, in perf_event__fprintf_mmap2()
|
| A D | symbol.c | 2107 char sbuild_id[SBUILD_ID_SIZE]; in dso__find_kallsyms() local 2136 build_id__sprintf(dso__bid(dso), sbuild_id); in dso__find_kallsyms() 2140 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms() 2152 if (!build_id_cache__kallsyms_path(sbuild_id, path, sizeof(path))) { in dso__find_kallsyms() 2154 sbuild_id); in dso__find_kallsyms()
|
| A D | dso.c | 1585 char sbuild_id[SBUILD_ID_SIZE]; in dso__fprintf_buildid() local 1587 build_id__sprintf(dso__bid(dso), sbuild_id); in dso__fprintf_buildid() 1588 return fprintf(fp, "%s", sbuild_id); in dso__fprintf_buildid()
|
| A D | probe-event.c | 492 char sbuild_id[SBUILD_ID_SIZE + 1]; in open_from_debuginfod() local 501 build_id__sprintf(dso__bid(dso), sbuild_id); in open_from_debuginfod() 502 fd = debuginfod_find_debuginfo(c, (const unsigned char *)sbuild_id, in open_from_debuginfod() 1059 char sbuild_id[SBUILD_ID_SIZE] = ""; in __show_line_range() local 1074 build_id__sprintf(&bid, sbuild_id); in __show_line_range() 1087 ret = find_source_path(tmp, sbuild_id, lr->comp_dir, &lr->path); in __show_line_range()
|
| A D | header.c | 2302 char sbuild_id[SBUILD_ID_SIZE]; in __event_process_build_id() local 2323 build_id__sprintf(dso__bid(dso), sbuild_id); in __event_process_build_id() 2325 dso__long_name(dso), sbuild_id, size); in __event_process_build_id()
|
| /linux/tools/perf/ |
| A D | builtin-buildid-list.c | 57 char sbuild_id[SBUILD_ID_SIZE]; in sysfs__fprintf_build_id() local 60 ret = sysfs__sprintf_build_id("/", sbuild_id); in sysfs__fprintf_build_id() 61 if (ret != sizeof(sbuild_id)) in sysfs__fprintf_build_id() 64 return fprintf(fp, "%s\n", sbuild_id); in sysfs__fprintf_build_id() 69 char sbuild_id[SBUILD_ID_SIZE]; in filename__fprintf_build_id() local 72 ret = filename__sprintf_build_id(name, sbuild_id); in filename__fprintf_build_id() 73 if (ret != sizeof(sbuild_id)) in filename__fprintf_build_id() 76 return fprintf(fp, "%s\n", sbuild_id); in filename__fprintf_build_id()
|
| A D | builtin-buildid-cache.c | 177 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__add_file() local 190 build_id__sprintf(&bid, sbuild_id); in build_id_cache__add_file() 191 err = build_id_cache__add_s(sbuild_id, filename, nsi, in build_id_cache__add_file() 193 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file() 200 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__remove_file() local 214 build_id__sprintf(&bid, sbuild_id); in build_id_cache__remove_file() 215 err = build_id_cache__remove_s(sbuild_id); in build_id_cache__remove_file() 305 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__update_file() local 320 build_id__sprintf(&bid, sbuild_id); in build_id_cache__update_file() 321 if (build_id_cache__cached(sbuild_id)) in build_id_cache__update_file() [all …]
|
| /linux/tools/perf/tests/ |
| A 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()
|
| /linux/tools/perf/util/scripting-engines/ |
| A D | trace-event-python.c | 798 char sbuild_id[SBUILD_ID_SIZE]; in set_sym_in_dict() local 805 build_id__sprintf(dso__bid(dso), sbuild_id); in set_sym_in_dict() 807 _PyUnicode_FromString(sbuild_id)); in set_sym_in_dict() 1250 char sbuild_id[SBUILD_ID_SIZE]; in python_export_dso() local 1253 build_id__sprintf(dso__bid(dso), sbuild_id); in python_export_dso() 1261 tuple_set_string(t, 4, sbuild_id); in python_export_dso()
|