Home
last modified time | relevance | path

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

/tools/perf/util/
Dbuild-id.c571 char *dir_name; in build_id_cache__list_build_ids() local
574 dir_name = build_id_cache__cachedir(NULL, pathname, nsi, false, false); in build_id_cache__list_build_ids()
575 if (!dir_name) in build_id_cache__list_build_ids()
578 *result = lsdir(dir_name, lsdir_no_dot_filter); in build_id_cache__list_build_ids()
581 free(dir_name); in build_id_cache__list_build_ids()
645 char *realname = NULL, *filename = NULL, *dir_name = NULL, in build_id_cache__add_s() local
659 dir_name = build_id_cache__cachedir(sbuild_id, name, nsi, is_kallsyms, in build_id_cache__add_s()
661 if (!dir_name) in build_id_cache__add_s()
665 if (is_regular_file(dir_name)) in build_id_cache__add_s()
666 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.c1162 const char *dir_name, int depth) in map_groups__set_modules_path_dir() argument
1165 DIR *dir = opendir(dir_name); in map_groups__set_modules_path_dir()
1169 pr_debug("%s: cannot open %s dir\n", __func__, dir_name); in map_groups__set_modules_path_dir()
1178 snprintf(path, sizeof(path), "%s/%s", dir_name, dent->d_name); in map_groups__set_modules_path_dir()
/tools/perf/
Dbuiltin-script.c2345 static int check_ev_match(char *dir_name, char *scriptname, in check_ev_match() argument
2354 scnprintf(filename, MAXPATHLEN, "%s/bin/%s-record", dir_name, scriptname); in check_ev_match()