aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkversion
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-08-24 02:40:17 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-09-23 13:36:36 -0400
commit694bf407b06113f5e0f71764756f11903126fec0 (patch)
treeee1593aa431242c12d9be39b7330dc70e5c4b57a /scripts/mkversion
parent318779086086f46127a249878eeebb3dc80578eb (diff)
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 <emunson@mgebm.net> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20110824065243.161953371@samba.org Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions