Lines Matching refs:scripts_path
1255 #define for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next)\ argument
1260 is_directory(scripts_path, &lang_dirent))) && \
1416 char scripts_path[MAXPATHLEN]; in list_available_scripts() local
1424 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in list_available_scripts()
1426 scripts_dir = opendir(scripts_path); in list_available_scripts()
1430 for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { in list_available_scripts()
1431 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
1531 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() local
1545 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in find_scripts()
1547 scripts_dir = opendir(scripts_path); in find_scripts()
1553 for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { in find_scripts()
1554 snprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
1597 char scripts_path[MAXPATHLEN]; in get_script_path() local
1603 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in get_script_path()
1605 scripts_dir = opendir(scripts_path); in get_script_path()
1609 for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { in get_script_path()
1610 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in get_script_path()