On Thu, Dec 07, 2017 at 12:19:05PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 06, 2017 at 06:45:35PM +0100, Jiri Olsa escreveu: > > Some system can return DT_UNKNOWN in readdir's struct dirent::d_type > > and we must handle it properly. In this case we can directly check > > if the entity we found is directory and skip it. > > > Making is_directory function global. > > Split this part into a prep patch and left with the previous paragraph > the 'perf test' bits. > > [acme@jouet perf]$ git log --oneline -2 > de7cee586145 (HEAD -> perf/core, acme.korg/perf/core) perf test: Handle > properly readdir DT_UNKNOWN > ef87e1133606 perf utils: Move is_directory() to path.h > [acme@jouet perf]$
thanks, jirka

