aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-11-21 11:31:25 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-21 11:45:59 -0500
commitc12e15e71d4b32da045e798ffd21cbb6197d1c65 (patch)
tree8cdf47479805f832b503c847282a32c3afecf7e7 /tools/perf/util
parent90c83218c32d7c474da810cd3c9973a43ecbcb9b (diff)
perf symbols: Old versions of elf.h don't have NT_GNU_BUILD_ID
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1258821086-11521-2-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/symbol.c4
1 files changed, 4 insertions, 0 deletions
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 @@
12#include <limits.h> 12#include <limits.h>
13#include <sys/utsname.h> 13#include <sys/utsname.h>
14 14
15#ifndef NT_GNU_BUILD_ID
16#define NT_GNU_BUILD_ID 3
17#endif
18
15enum dso_origin { 19enum dso_origin {
16 DSO__ORIG_KERNEL = 0, 20 DSO__ORIG_KERNEL = 0,
17 DSO__ORIG_JAVA_JIT, 21 DSO__ORIG_JAVA_JIT,