Searched refs:scripts_path (Results 1 – 2 of 2) sorted by relevance
| /linux/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/tools/perf/ |
| H A D | builtin-script.c | 3205 #define for_each_lang(scripts_path, scripts_dir, lang_dirent) \ argument 3209 is_directory(scripts_path, lang_dirent))) && \ 3359 char *buf, *scripts_path, *script_path, *lang_path, *first_half; in list_available_scripts() local 3369 scripts_path = buf; in list_available_scripts() 3374 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in list_available_scripts() 3376 scripts_dir = opendir(scripts_path); in list_available_scripts() 3381 scripts_path); in list_available_scripts() 3386 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in list_available_scripts() 3387 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts() 3448 char scripts_path[MAXPATHLEN]; in get_script_path() local [all …]
|