Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/
Dbuiltin-script.c3130 #define for_each_lang(scripts_path, scripts_dir, lang_dirent) \ argument
3131 while ((lang_dirent = readdir(scripts_dir)) != NULL) \
3132 if ((lang_dirent->d_type == DT_DIR || \
3133 (lang_dirent->d_type == DT_UNKNOWN && \
3134 is_directory(scripts_path, lang_dirent))) && \
3135 (strcmp(lang_dirent->d_name, ".")) && \
3136 (strcmp(lang_dirent->d_name, "..")))
3283 struct dirent *script_dirent, *lang_dirent; in list_available_scripts() local
3303 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in list_available_scripts()
3305 lang_dirent->d_name); in list_available_scripts()
[all …]