OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a73b6c1
)
perf symbols: Define EM_AARCH64 for older OSes
author
David Ahern
<david.ahern@oracle.com>
Thu, 19 Feb 2015 00:33:37 +0000
(19:33 -0500)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 25 Feb 2015 20:39:17 +0000
(17:39 -0300)
4886f2ca19f6f
added an arm-64 check, but the EM_AARCH64 macro is not
defined in older releases (e.g., RHEL6). Define if it is not defined.
Signed-off-by: David Ahern <david.ahern@oracle.com>
Cc: Victor Kamensky <victor.kamensky@linaro.org>
Link:
http://lkml.kernel.org/r/1424306017-96797-1-git-send-email-david.ahern@oracle.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/symbol-elf.c
b/tools/perf/util/symbol-elf.c
index
b24f9d8
..
33b7a2a
100644
(file)
--- a/
tools/perf/util/symbol-elf.c
+++ b/
tools/perf/util/symbol-elf.c
@@
-11,6
+11,11
@@
#include <symbol/kallsyms.h>
#include "debug.h"
+#ifndef EM_AARCH64
+#define EM_AARCH64 183 /* ARM 64 bit */
+#endif
+
+
#ifdef HAVE_CPLUS_DEMANGLE_SUPPORT
extern char *cplus_demangle(const char *, int);