Home
last modified time | relevance | path

Searched refs:script_dirent (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/tools/perf/ !
Dbuiltin-script.c3138 #define for_each_script(lang_path, lang_dir, script_dirent) \ argument
3139 while ((script_dirent = readdir(lang_dir)) != NULL) \
3140 if (script_dirent->d_type != DT_DIR && \
3141 (script_dirent->d_type != DT_UNKNOWN || \
3142 !is_directory(lang_path, script_dirent)))
3261 static char *get_script_root(struct dirent *script_dirent, const char *suffix) in get_script_root() argument
3265 script_root = strdup(script_dirent->d_name); in get_script_root()
3283 struct dirent *script_dirent, *lang_dirent; in list_available_scripts() local
3310 for_each_script(lang_path, lang_dir, script_dirent) { in list_available_scripts()
3311 script_root = get_script_root(script_dirent, REPORT_SUFFIX); in list_available_scripts()
[all …]