From: Anton Blanchard Date: Wed, 24 Aug 2011 06:40:17 +0000 (+1000) Subject: perf symbols: Add some heuristics for choosing the best duplicate symbol X-Git-Tag: v3.1-rc8~15^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=694bf407b06113f5e0f71764756f11903126fec0;p=pandora-kernel.git perf symbols: Add some heuristics for choosing the best duplicate symbol Try and pick the best symbol based on a few heuristics: - Prefer a non weak symbol over a weak one - Prefer a global symbol over a non global one - Prefer a symbol with less underscores (idea taken from kallsyms.c) - If all else fails, choose the symbol with the longest name Cc: Eric B Munson Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20110824065243.161953371@samba.org Signed-off-by: Anton Blanchard Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed