9f5154c912d274a4df4a913a8e9baaf3f652591e parent 6671cb1674e69e2aba3d610714bdd3e97a7b51ff author Arnaldo Carvalho de Melo 1258757485 -0200 committer Ingo Molnar 1258809092 +0100 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 1k2ƒ˜;x