Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 4 of 4) sorted by relevance

/tools/perf/util/
Dbuild-id.c581 char *dir_name; in build_id_cache__list_build_ids() local
584 dir_name = build_id_cache__cachedir(NULL, pathname, nsi, false, false); in build_id_cache__list_build_ids()
585 if (!dir_name) in build_id_cache__list_build_ids()
588 *result = lsdir(dir_name, lsdir_no_dot_filter); in build_id_cache__list_build_ids()
591 free(dir_name); in build_id_cache__list_build_ids()
670 char *realname = NULL, *filename = NULL, *dir_name = NULL, in build_id_cache__add_s() local
684 dir_name = build_id_cache__cachedir(sbuild_id, name, nsi, is_kallsyms, in build_id_cache__add_s()
686 if (!dir_name) in build_id_cache__add_s()
690 if (is_regular_file(dir_name)) in build_id_cache__add_s()
691 if (unlink(dir_name)) in build_id_cache__add_s()
[all …]
Dprobe-file.c420 char *dir_name = NULL; in probe_cache__open() local
428 dir_name = build_id_cache__linkname(sbuildid, NULL, 0); in probe_cache__open()
457 dir_name = build_id_cache__cachedir(sbuildid, target, nsi, is_kallsyms, in probe_cache__open()
460 if (!dir_name) { in probe_cache__open()
465 snprintf(cpath, PATH_MAX, "%s/probes", dir_name); in probe_cache__open()
469 free(dir_name); in probe_cache__open()
Dmachine.c1366 static int maps__set_modules_path_dir(struct maps *maps, const char *dir_name, int depth) in maps__set_modules_path_dir() argument
1369 DIR *dir = opendir(dir_name); in maps__set_modules_path_dir()
1373 pr_debug("%s: cannot open %s dir\n", __func__, dir_name); in maps__set_modules_path_dir()
1382 snprintf(path, sizeof(path), "%s/%s", dir_name, dent->d_name); in maps__set_modules_path_dir()
/tools/perf/
Dbuiltin-script.c3041 static int check_ev_match(char *dir_name, char *scriptname, in check_ev_match() argument
3050 scnprintf(filename, MAXPATHLEN, "%s/bin/%s-record", dir_name, scriptname); in check_ev_match()