From: Ulrich Drepper Date: Fri, 4 Sep 2009 19:39:51 +0000 (-0300) Subject: perf tools: Avoid unnecessary work in directory lookups X-Git-Tag: v2.6.32-rc1~720^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b58e7f146f8d79c08f62087f928e1f01747de71;p=pandora-kernel.git perf tools: Avoid unnecessary work in directory lookups This patch improves some (common) inefficiencies in the handling of directory lookups: - not using the d_type information returned by the kernel - constructing (absolute) paths for file operation even though directory-relative operations using the *at functions is possible There are more places to fix but this is a start. Signed-off-by: Ulrich Drepper Signed-off-by: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Mike Galbraith LKML-Reference: <20090904193951.GB6186@ghostprotocols.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed