From: Arnaldo Carvalho de Melo Date: Mon, 16 Nov 2009 18:32:43 +0000 (-0200) Subject: perf tools: Generalize perf_header__adds_read() X-Git-Tag: v2.6.33-rc1~399^2~165^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37562eac3767c7f07bb1a1329708ff6453e47570;p=pandora-kernel.git perf tools: Generalize perf_header__adds_read() Renaming it to perf_header__process_sections() and passing a callback to handle each feature. The next changesets will introduce 'perf buildid-list' that will handle just the HEADER_BUILD_ID table, ignoring all the other features. Signed-off-by: Arnaldo Carvalho de Melo Acked-by: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra LKML-Reference: <1258396365-29217-3-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed