Lines Matching refs:filename
118 static int build_id_cache__add_kcore(const char *filename, bool force) in build_id_cache__add_kcore() argument
124 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
175 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() argument
183 err = filename__read_build_id(filename, &bid); in build_id_cache__add_file()
186 pr_debug("Couldn't read a build-id in %s\n", filename); 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()
198 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() argument
207 err = filename__read_build_id(filename, &bid); in build_id_cache__remove_file()
210 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
216 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
277 char filename[PATH_MAX]; in dso__missing_buildid_cache() local
280 if (dso__build_id_filename(dso, filename, sizeof(filename), false) && in dso__missing_buildid_cache()
281 filename__read_build_id(filename, &bid) == -1) { in dso__missing_buildid_cache()
286 filename); in dso__missing_buildid_cache()
289 filename); in dso__missing_buildid_cache()
301 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() argument
310 err = filename__read_build_id(filename, &bid); in build_id_cache__update_file()
313 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__update_file()
323 err = build_id_cache__add_s(sbuild_id, filename, nsi, false, in build_id_cache__update_file()
326 pr_debug("Updating %s %s: %s\n", sbuild_id, filename, in build_id_cache__update_file()