From: Arnaldo Carvalho de Melo Date: Fri, 20 Nov 2009 22:51:25 +0000 (-0200) Subject: perf symbols: Filename__read_build_id should look at .notes section too X-Git-Tag: v2.6.33-rc1~399^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd7a346ea292074e9f6cdb5232a57c56bf98fdc9;p=pandora-kernel.git perf symbols: Filename__read_build_id should look at .notes section too In the kernel we have more than one notes section, so the linker script combines all and puts them into a ".notes" combined section. So we need to look at both sections and also traverse them looking at multiple GElf_Nhdr entries till we find the one we want, with the build_id. Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <1258757489-5978-2-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed