Home
last modified time | relevance | path

Searched refs:sbuild_id (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/tools/perf/util/
Dbuild-id.c117 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument
132 return build_id__sprintf(&bid, sbuild_id); in sysfs__sprintf_build_id()
135 int filename__sprintf_build_id(const char *pathname, char *sbuild_id) in filename__sprintf_build_id() argument
144 return build_id__sprintf(&bid, sbuild_id); in filename__sprintf_build_id()
166 char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf, in build_id_cache__kallsyms_path() argument
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()
187 char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size) in build_id_cache__linkname() argument
191 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
198 char *build_id_cache__origname(const char *sbuild_id) in build_id_cache__origname() argument
[all …]
Dbuild-id.h28 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id);
29 int filename__sprintf_build_id(const char *pathname, char *sbuild_id);
30 char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf,
55 char *build_id_cache__origname(const char *sbuild_id);
56 char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size);
57 char *build_id_cache__cachedir(const char *sbuild_id, const char *name,
67 bool build_id_cache__cached(const char *sbuild_id);
68 int build_id_cache__add(const char *sbuild_id, const char *name, const char *realname,
71 int __build_id_cache__add_s(const char *sbuild_id,
75 static inline int build_id_cache__add_s(const char *sbuild_id, in build_id_cache__add_s() argument
[all …]
Ddsos.c314 char sbuild_id[SBUILD_ID_SIZE]; in __dsos__fprintf_buildid() local
318 build_id__sprintf(&pos->bid, sbuild_id); in __dsos__fprintf_buildid()
319 ret += fprintf(fp, "%-40s %s\n", sbuild_id, pos->long_name); in __dsos__fprintf_buildid()
Dprobe-finder.h64 int find_source_path(const char *raw_path, const char *sbuild_id,
Dprobe-finder.c961 char sbuild_id[SBUILD_ID_SIZE] = ""; in find_probe_point_lazy() local
971 build_id__sprintf(&bid, sbuild_id); in find_probe_point_lazy()
973 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy()
2002 const char *sbuild_id, char **new_path) in get_source_from_debuginfod() argument
2011 fd = debuginfod_find_source(c, (const unsigned char *)sbuild_id, in get_source_from_debuginfod()
2019 raw_path, sbuild_id); in get_source_from_debuginfod()
2028 const char *sbuild_id __maybe_unused, in get_source_from_debuginfod()
2040 int find_source_path(const char *raw_path, const char *sbuild_id, in find_source_path() argument
2045 if (sbuild_id && !prefix) { in find_source_path()
2046 if (!get_source_from_debuginfod(raw_path, sbuild_id, new_path)) in find_source_path()
Dmap.c341 char sbuild_id[SBUILD_ID_SIZE]; in map__load() local
343 build_id__sprintf(&map->dso->bid, sbuild_id); in map__load()
344 pr_debug("%s with build id %s not found", name, sbuild_id); in map__load()
Devent.c302 char sbuild_id[SBUILD_ID_SIZE]; in perf_event__fprintf_mmap2() local
307 build_id__sprintf(&bid, sbuild_id); in perf_event__fprintf_mmap2()
312 event->mmap2.len, event->mmap2.pgoff, sbuild_id, in perf_event__fprintf_mmap2()
Ddso.c1416 char sbuild_id[SBUILD_ID_SIZE]; in dso__fprintf_buildid() local
1418 build_id__sprintf(&dso->bid, sbuild_id); in dso__fprintf_buildid()
1419 return fprintf(fp, "%s", sbuild_id); in dso__fprintf_buildid()
Dsymbol.c2169 char sbuild_id[SBUILD_ID_SIZE]; in dso__find_kallsyms() local
2198 build_id__sprintf(&dso->bid, sbuild_id); in dso__find_kallsyms()
2202 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms()
2214 if (!build_id_cache__kallsyms_path(sbuild_id, path, sizeof(path))) { in dso__find_kallsyms()
2216 sbuild_id); in dso__find_kallsyms()
Dprobe-event.c470 char sbuild_id[SBUILD_ID_SIZE + 1]; in open_from_debuginfod() local
479 build_id__sprintf(&dso->bid, sbuild_id); in open_from_debuginfod()
480 fd = debuginfod_find_debuginfo(c, (const unsigned char *)sbuild_id, in open_from_debuginfod()
1036 char sbuild_id[SBUILD_ID_SIZE] = ""; in __show_line_range() local
1051 build_id__sprintf(&bid, sbuild_id); in __show_line_range()
1064 ret = find_source_path(tmp, sbuild_id, lr->comp_dir, &lr->path); in __show_line_range()
Dheader.c2254 char sbuild_id[SBUILD_ID_SIZE]; in __event_process_build_id() local
2275 build_id__sprintf(&dso->bid, sbuild_id); in __event_process_build_id()
2277 dso->long_name, sbuild_id, size); in __event_process_build_id()
/linux-6.1.9/tools/perf/
Dbuiltin-buildid-list.c55 char sbuild_id[SBUILD_ID_SIZE]; in sysfs__fprintf_build_id() local
58 ret = sysfs__sprintf_build_id("/", sbuild_id); in sysfs__fprintf_build_id()
59 if (ret != sizeof(sbuild_id)) in sysfs__fprintf_build_id()
62 return fprintf(fp, "%s\n", sbuild_id); in sysfs__fprintf_build_id()
67 char sbuild_id[SBUILD_ID_SIZE]; in filename__fprintf_build_id() local
70 ret = filename__sprintf_build_id(name, sbuild_id); in filename__fprintf_build_id()
71 if (ret != sizeof(sbuild_id)) in filename__fprintf_build_id()
74 return fprintf(fp, "%s\n", sbuild_id); in filename__fprintf_build_id()
Dbuiltin-buildid-cache.c177 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()
216 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
303 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__update_file() local
318 build_id__sprintf(&bid, sbuild_id); in build_id_cache__update_file()
[all …]
/linux-6.1.9/tools/perf/tests/
Dsdt.c30 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-6.1.9/tools/perf/util/scripting-engines/
Dtrace-event-python.c771 char sbuild_id[SBUILD_ID_SIZE]; in set_sym_in_dict() local
776 build_id__sprintf(&al->map->dso->bid, sbuild_id); in set_sym_in_dict()
778 _PyUnicode_FromString(sbuild_id)); in set_sym_in_dict()
1200 char sbuild_id[SBUILD_ID_SIZE]; in python_export_dso() local
1203 build_id__sprintf(&dso->bid, sbuild_id); in python_export_dso()
1211 tuple_set_string(t, 4, sbuild_id); in python_export_dso()