Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dbuild-id.c191 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
268 char sbuild_id[SBUILD_ID_SIZE]; in __dso__build_id_filename() local
460 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__list_all() local
536 char *sbuild_id = NULL; in build_id_cache__complement() local
557 sbuild_id = strdup(cand->s); in build_id_cache__complement()
560 return sbuild_id; in build_id_cache__complement()
578 sbuild_id ? "/" : "", sbuild_id ?: "") < 0) in build_id_cache__cachedir()
648 sbuild_id + 2); in build_id_cache__find_debug()
772 sbuild_id, linkname); in build_id_cache__add()
817 char sbuild_id[SBUILD_ID_SIZE]; in build_id_cache__add_b() local
[all …]
A 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,
70 int build_id_cache__add_s(const char *sbuild_id,
73 int build_id_cache__remove_s(const char *sbuild_id);
A Ddsos.c290 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()
A 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()
A Dprobe-finder.h64 int find_source_path(const char *raw_path, const char *sbuild_id,
A Devent.c301 char sbuild_id[SBUILD_ID_SIZE]; in perf_event__fprintf_mmap2() local
306 build_id__sprintf(&bid, sbuild_id); in perf_event__fprintf_mmap2()
311 event->mmap2.len, event->mmap2.pgoff, sbuild_id, in perf_event__fprintf_mmap2()
A Dmap.c335 char sbuild_id[SBUILD_ID_SIZE]; in map__load() local
337 build_id__sprintf(&map->dso->bid, sbuild_id); in map__load()
338 pr_debug("%s with build id %s not found", name, sbuild_id); in map__load()
A Dsymbol.c2142 char sbuild_id[SBUILD_ID_SIZE]; in dso__find_kallsyms() local
2171 build_id__sprintf(&dso->bid, sbuild_id); in dso__find_kallsyms()
2175 buildid_dir, DSO__NAME_KCORE, sbuild_id); in dso__find_kallsyms()
2187 if (!build_id_cache__kallsyms_path(sbuild_id, path, sizeof(path))) { in dso__find_kallsyms()
2189 sbuild_id); in dso__find_kallsyms()
A Ddso.c1400 char sbuild_id[SBUILD_ID_SIZE]; in dso__fprintf_buildid() local
1402 build_id__sprintf(&dso->bid, sbuild_id); in dso__fprintf_buildid()
1403 return fprintf(fp, "%s", sbuild_id); in dso__fprintf_buildid()
A Dprobe-event.c467 char sbuild_id[SBUILD_ID_SIZE + 1]; in open_from_debuginfod() local
476 build_id__sprintf(&dso->bid, sbuild_id); in open_from_debuginfod()
477 fd = debuginfod_find_debuginfo(c, (const unsigned char *)sbuild_id, in open_from_debuginfod()
1033 char sbuild_id[SBUILD_ID_SIZE] = ""; in __show_line_range() local
1048 build_id__sprintf(&bid, sbuild_id); in __show_line_range()
1061 ret = find_source_path(tmp, sbuild_id, lr->comp_dir, &lr->path); in __show_line_range()
A Dheader.c2194 char sbuild_id[SBUILD_ID_SIZE]; in __event_process_build_id() local
2214 build_id__sprintf(&dso->bid, sbuild_id); in __event_process_build_id()
2216 dso->long_name, sbuild_id, size); in __event_process_build_id()
/linux/tools/perf/
A Dbuiltin-buildid-list.c25 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()
A 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()
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()
319 if (build_id_cache__cached(sbuild_id)) in build_id_cache__update_file()
[all …]
/linux/tools/perf/tests/
A 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/tools/perf/util/scripting-engines/
A Dtrace-event-python.c1148 char sbuild_id[SBUILD_ID_SIZE]; in python_export_dso() local
1151 build_id__sprintf(&dso->bid, sbuild_id); in python_export_dso()
1159 tuple_set_string(t, 4, sbuild_id); in python_export_dso()

Completed in 63 milliseconds