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 | 3177 #define for_each_lang(scripts_path, scripts_dir, lang_dirent) \ argument 3181 is_directory(scripts_path, lang_dirent))) && \ 3331 char *buf, *scripts_path, *script_path, *lang_path, *first_half; in list_available_scripts() local 3341 scripts_path = buf; in list_available_scripts() 3346 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in list_available_scripts() 3348 scripts_dir = opendir(scripts_path); in list_available_scripts() 3353 scripts_path); in list_available_scripts() 3358 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in list_available_scripts() 3359 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts() 3420 char scripts_path[MAXPATHLE in get_script_path() local [all...] |