From: Arnaldo Carvalho de Melo Date: Sat, 21 Nov 2009 16:31:25 +0000 (-0200) Subject: perf symbols: Old versions of elf.h don't have NT_GNU_BUILD_ID X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c12e15e71d4b32da045e798ffd21cbb6197d1c65;p=openwrt%2Fstaging%2Fblogic.git perf symbols: Old versions of elf.h don't have NT_GNU_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: <1258821086-11521-2-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index e161a51c9fef..86ec6c720f0f 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -12,6 +12,10 @@ #include #include +#ifndef NT_GNU_BUILD_ID +#define NT_GNU_BUILD_ID 3 +#endif + enum dso_origin { DSO__ORIG_KERNEL = 0, DSO__ORIG_JAVA_JIT,