Searched refs:scripts_path (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/tools/perf/ui/browsers/ |
| H A D | scripts.c | 178 char scripts_path[PATH_MAX]; in find_scripts() local 180 snprintf(scripts_path, sizeof(scripts_path), "%s/scripts", exec_path); in find_scripts() 181 scripts_dir_fd = open(scripts_path, O_DIRECTORY); in find_scripts() 182 pr_err("Failed to open directory '%s'", scripts_path); in find_scripts()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-script.c | 3167 #define for_each_lang(scripts_path, scripts_dir, lang_dirent) \ argument 3171 is_directory(scripts_path, lang_dirent))) && \ 3331 scripts_path = buf; in list_available_scripts() 3338 scripts_dir = opendir(scripts_path); in list_available_scripts() 3343 scripts_path); in list_available_scripts() 3348 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in list_available_scripts() 3349 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts() 3410 char scripts_path[MAXPATHLEN]; in get_script_path() local 3418 scripts_dir = opendir(scripts_path); in get_script_path() 3422 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in get_script_path() [all …]
|