perf list: Add scandirat compatibility function