Lines Matching refs:scripts_path
1064 #define for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next)\ argument
1069 is_directory(scripts_path, &lang_dirent))) && \
1225 char scripts_path[MAXPATHLEN]; in list_available_scripts() local
1233 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in list_available_scripts()
1235 scripts_dir = opendir(scripts_path); in list_available_scripts()
1239 for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { in list_available_scripts()
1240 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
1340 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() local
1354 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in find_scripts()
1356 scripts_dir = opendir(scripts_path); in find_scripts()
1362 for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { in find_scripts()
1363 snprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
1406 char scripts_path[MAXPATHLEN]; in get_script_path() local
1412 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in get_script_path()
1414 scripts_dir = opendir(scripts_path); in get_script_path()
1418 for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { in get_script_path()
1419 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in get_script_path()