Lines Matching refs:filename
20 static int build_id_cache__add_file(const char *filename, const char *debugdir) in build_id_cache__add_file() argument
26 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { in build_id_cache__add_file()
27 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__add_file()
32 err = build_id_cache__add_s(sbuild_id, debugdir, filename, in build_id_cache__add_file()
35 pr_info("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file()
40 static int build_id_cache__remove_file(const char *filename, in build_id_cache__remove_file() argument
48 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { in build_id_cache__remove_file()
49 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
56 pr_info("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
64 char filename[PATH_MAX]; in dso__missing_buildid_cache() local
67 if (dso__build_id_filename(dso, filename, sizeof(filename)) && in dso__missing_buildid_cache()
68 filename__read_build_id(filename, build_id, in dso__missing_buildid_cache()
74 filename); in dso__missing_buildid_cache()
77 filename); in dso__missing_buildid_cache()
83 static int build_id_cache__fprintf_missing(const char *filename, bool force, FILE *fp) in build_id_cache__fprintf_missing() argument
85 struct perf_session *session = perf_session__new(filename, O_RDONLY, in build_id_cache__fprintf_missing()
96 static int build_id_cache__update_file(const char *filename, in build_id_cache__update_file() argument
104 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { in build_id_cache__update_file()
105 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__update_file()
112 err = build_id_cache__add_s(sbuild_id, debugdir, filename, in build_id_cache__update_file()
116 pr_info("Updating %s %s: %s\n", sbuild_id, filename, in build_id_cache__update_file()