diff options
author | Anton Blanchard <anton@samba.org> | 2011-08-24 16:40:17 +1000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-09-23 14:36:36 -0300 |
commit | 694bf407b06113f5e0f71764756f11903126fec0 (patch) | |
tree | ee1593aa431242c12d9be39b7330dc70e5c4b57a /mm/slab.c | |
parent | 318779086086f46127a249878eeebb3dc80578eb (diff) | |
download | op-kernel-dev-694bf407b06113f5e0f71764756f11903126fec0.zip op-kernel-dev-694bf407b06113f5e0f71764756f11903126fec0.tar.gz |
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 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions