File tree Expand file tree Collapse file tree 4 files changed +3
-66
lines changed Expand file tree Collapse file tree 4 files changed +3
-66
lines changed Original file line number Diff line number Diff line change 1
1
perf-util-y += perf_regs.o
2
2
3
- perf-util-$(CONFIG_LIBDW) += dwarf-regs.o
4
-
5
3
perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
6
4
perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
7
5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 32
32
const char * get_dwarf_regstr (unsigned int n , unsigned int machine ,
33
33
unsigned int flags __maybe_unused )
34
34
{
35
- #if EM_HOST == EM_X86_64 || EM_HOST == EM_386 || EM_HOST == EM_AARCH64
35
+ #if EM_HOST == EM_X86_64 || EM_HOST == EM_386 || EM_HOST == EM_AARCH64 || EM_HOST == EM_ARM
36
36
if (machine == EM_NONE ) {
37
37
/* Generic arch - use host arch */
38
38
machine = EM_HOST ;
39
39
}
40
40
#endif
41
41
switch (machine ) {
42
- #if EM_HOST != EM_X86_64 && EM_HOST != EM_386 && EM_HOST != EM_AARCH64
42
+ #if EM_HOST != EM_X86_64 && EM_HOST != EM_386 && EM_HOST != EM_AARCH64 && EM_HOST != EM_ARM
43
43
case EM_NONE : /* Generic arch - use host arch */
44
44
return get_arch_regstr (n );
45
45
#endif
Original file line number Diff line number Diff line change 89
89
#define DWARF_REG_FB 0xd3affb /* random number */
90
90
91
91
#ifdef HAVE_LIBDW_SUPPORT
92
- #if !defined(__x86_64__ ) && !defined(__i386__ ) && !defined(__aarch64__ )
92
+ #if !defined(__x86_64__ ) && !defined(__i386__ ) && !defined(__aarch64__ ) && !defined( __arm__ )
93
93
const char * get_arch_regstr (unsigned int n );
94
94
#endif
95
95
You can’t perform that action at this time.
0 commit comments