On Wed, Apr 09, 2014 at 03:24:28PM +0400, Andrew Vagin wrote: > > > + > > > + if (type == FD_TYPES__UND) > > > continue; > > > > Why have you removed fdinfo_field(str, "counter") here? > > Currently parse_fdinfo_pid_s is called for each file, so this extra > check probaly will slow down this function. OK