projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c8321
)
perf symbols: Old versions of elf.h don't have NT_GNU_BUILD_ID
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Sat, 21 Nov 2009 16:31:25 +0000
(14:31 -0200)
committer
Ingo Molnar
<
[email protected]
>
Sat, 21 Nov 2009 16:45:59 +0000
(17:45 +0100)
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
Cc: Frédéric Weisbecker <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
LKML-Reference: <
1258821086
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
tools/perf/util/symbol.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/symbol.c
b/tools/perf/util/symbol.c
index e161a51c9fef456d317cf8ef39602d50d8569390..86ec6c720f0f8f9be384147bdecba1c9cff3ffa6 100644
(file)
--- a/
tools/perf/util/symbol.c
+++ b/
tools/perf/util/symbol.c
@@
-12,6
+12,10
@@
#include <limits.h>
#include <sys/utsname.h>
+#ifndef NT_GNU_BUILD_ID
+#define NT_GNU_BUILD_ID 3
+#endif
+
enum dso_origin {
DSO__ORIG_KERNEL = 0,
DSO__ORIG_JAVA_JIT,