From: Gui Jianfeng Date: Wed, 16 Jun 2010 05:21:44 +0000 (+0800) Subject: perf tools: Fix find tids routine by excluding "." and ".." X-Git-Tag: v2.6.35-rc4~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c214909b36efec632432acdcbfacdd46a6e11370;p=pandora-kernel.git perf tools: Fix find tids routine by excluding "." and ".." Introduce a filter function to skip "." and ".." directories when calculating tid number, otherwise tid 0 will be included in the all_tid result array. Cc: Ingo Molnar LKML-Reference: <4C185F68.1020505@cn.fujitsu.com> Signed-off-by: Gui Jianfeng Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed