Searched refs:scripts_path (Results 1 – 2 of 2) sorted by relevance
/linux-6.14.4/tools/perf/ui/browsers/ |
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.14.4/tools/perf/ |
D | builtin-script.c | 3140 #define for_each_lang(scripts_path, scripts_dir, lang_dirent) \ argument 3144 is_directory(scripts_path, lang_dirent))) && \ 3294 char *buf, *scripts_path, *script_path, *lang_path, *first_half; in list_available_scripts() local 3304 scripts_path = buf; in list_available_scripts() 3309 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in list_available_scripts() 3311 scripts_dir = opendir(scripts_path); in list_available_scripts() 3316 scripts_path); in list_available_scripts() 3321 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in list_available_scripts() 3322 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts() 3383 char scripts_path[MAXPATHLEN]; in get_script_path() local [all …]
|