Lines Matching refs:dirent
30 #include <dirent.h>
493 for (struct dirent* dirent; !!(dirent = readdir(dir));) {
494 if (strlen(dirent->d_name) >= 4 && memcmp(dirent->d_name, "cpu", 3) == 0) {
497 strcat(cpupath, dirent->d_name);
502 printf(" %s %9u samples received\n", dirent->d_name, num);
507 printf(" %s %9u samples lost overflow\n", dirent->d_name, num);
512 printf(" %s %9u samples invalid eip\n", dirent->d_name, num);
517 printf(" %s %9u backtrace aborted\n", dirent->d_name, num);