Home
last modified time | relevance | path

Searched refs:e_machine (Results 1 – 25 of 35) sorted by relevance

12

/tools/perf/util/
A Dsyscalltbl.c20 static const struct syscalltbl *find_table(int e_machine) in find_table() argument
26 if (e_machine == EM_SPARCV9) in find_table()
27 e_machine = EM_SPARC; in find_table()
35 if (entry->e_machine != e_machine && entry->e_machine != EM_NONE) in find_table()
39 last_table_machine = e_machine; in find_table()
45 const char *syscalltbl__name(int e_machine, int id) in syscalltbl__name() argument
47 const struct syscalltbl *table = find_table(e_machine); in syscalltbl__name()
49 if (e_machine == EM_MIPS && id > 1000) { in syscalltbl__name()
75 int syscalltbl__id(int e_machine, const char *name) in syscalltbl__id() argument
92 int syscalltbl__num_idx(int e_machine) in syscalltbl__num_idx() argument
[all …]
A Dsyscalltbl.h5 const char *syscalltbl__name(int e_machine, int id);
6 int syscalltbl__id(int e_machine, const char *name);
7 int syscalltbl__num_idx(int e_machine);
8 int syscalltbl__id_at_idx(int e_machine, int idx);
10 int syscalltbl__strglobmatch_first(int e_machine, const char *syscall_glob, int *idx);
11 int syscalltbl__strglobmatch_next(int e_machine, const char *syscall_glob, int *idx);
A Dthread.c463 if (pread(fd, &e_machine, sizeof(e_machine), 18) != sizeof(e_machine)) in read_proc_e_machine_for_pid()
464 e_machine = EM_NONE; in read_proc_e_machine_for_pid()
467 return e_machine; in read_proc_e_machine_for_pid()
484 uint16_t e_machine = RC_CHK_ACCESS(thread)->e_machine; in thread__e_machine() local
486 if (e_machine != EM_NONE) in thread__e_machine()
487 return e_machine; in thread__e_machine()
498 return e_machine; in thread__e_machine()
506 if (e_machine == EM_NONE) { in thread__e_machine()
522 if (e_machine != EM_NONE) in thread__e_machine()
525 e_machine = EM_HOST; in thread__e_machine()
[all …]
A Dthread.h67 uint16_t e_machine; in DECLARE_RC_STRUCT() local
312 static inline void thread__set_e_machine(struct thread *thread, uint16_t e_machine) in thread__set_e_machine() argument
314 RC_CHK_ACCESS(thread)->e_machine = e_machine; in thread__set_e_machine()
A Dprobe-finder.h75 unsigned int e_machine; /* ELF target machine arch */ member
A Dsymbol-elf.c380 switch (ehdr->e_machine) { in get_plt_sizes()
422 return e_machine == EM_386 || e_machine == EM_X86_64; in machine_is_x86()
591 if (ehdr->e_machine == EM_X86_64) in dso__synthesize_plt_got_symbols()
657 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
1350 if (ehdr->e_machine == EM_PARISC || in max_text_section()
1351 ehdr->e_machine == EM_ALPHA) in max_text_section()
1665 if (ehdr.e_machine == EM_ARM || ehdr.e_machine == EM_AARCH64) { in dso__load_sym_internal()
1672 if (ehdr.e_machine == EM_RISCV) { in dso__load_sym_internal()
1739 if ((ehdr.e_machine == EM_ARM) && in dso__load_sym_internal()
1953 if (ehdr.e_machine == EM_X86_64) in dso__type_fd()
[all …]
A Ddisasm.h48 unsigned int e_machine; member
A Ddso.c1199 uint16_t e_machine = EM_NONE; in dso__e_machine() local
1243 _Static_assert(offsetof(Elf32_Ehdr, e_machine) == 18, "Unexpected offset"); in dso__e_machine()
1244 _Static_assert(offsetof(Elf64_Ehdr, e_machine) == 18, "Unexpected offset"); in dso__e_machine()
1252 pread(fd, &e_machine, sizeof(e_machine), 18) == sizeof(e_machine)) in dso__e_machine()
1253 e_machine = DSO__SWAP(dso, uint16_t, e_machine); in dso__e_machine()
1256 return e_machine; in dso__e_machine()
/tools/perf/trace/beauty/
A Dsyscalltbl.sh38 e_machine="$4"
48 echo "static const char *const syscall_num_to_name_${e_machine}[] = {" >> "$outfile"
56 echo "static const uint16_t syscall_sorted_names_${e_machine}[] = {" >> "$outfile"
82 uint16_t e_machine;
181 e_machine=$1
185 .num_to_name = syscall_num_to_name_$e_machine,
186 .sorted_names = syscall_sorted_names_$e_machine,
187 .e_machine = $e_machine,
188 .num_to_name_len = ARRAY_SIZE(syscall_num_to_name_$e_machine),
189 .sorted_names_len = ARRAY_SIZE(syscall_sorted_names_$e_machine),
/tools/perf/arch/arc/annotate/
A Dinstructions.c8 arch->e_machine = EM_ARC; in arc__annotate_init()
/tools/perf/
A Dbuiltin-trace.c1468 int e_machine; member
2487 sc->e_machine = e_machine; in syscall__new()
2505 if (a->e_machine != b->e_machine) in syscall__bsearch_cmp()
2506 return a->e_machine - b->e_machine; in syscall__bsearch_cmp()
2516 if (a->e_machine != b->e_machine) in syscall__cmp()
2517 return a->e_machine - b->e_machine; in syscall__cmp()
2525 .e_machine = e_machine, in trace__find_syscall()
2540 sc = syscall__new(e_machine, id); in trace__find_syscall()
2563 int e_machine, int id) in trace__syscall_info() argument
2844 int augmented_args_size, e_machine; in trace__fprintf_sys_enter() local
[all …]
/tools/perf/arch/riscv64/annotate/
A Dinstructions.c31 arch->e_machine = EM_RISCV; in riscv64__annotate_init()
/tools/perf/arch/csky/annotate/
A Dinstructions.c46 arch->e_machine = EM_CSKY; in csky__annotate_init()
/tools/perf/arch/mips/annotate/
A Dinstructions.c43 arch->e_machine = EM_MIPS; in mips__annotate_init()
/tools/perf/arch/arm/annotate/
A Dinstructions.c56 arch->e_machine = EM_ARM; in arm__annotate_init()
/tools/perf/arch/sparc/annotate/
A Dinstructions.c166 arch->e_machine = EM_SPARC; in sparc__annotate_init()
/tools/perf/jvmti/
A Djvmti_agent.c62 uint16_t e_machine; in get_e_machine() member
81 hdr->elf_mach = info.e_machine; in get_e_machine()
/tools/perf/arch/arm64/annotate/
A Dinstructions.c116 arch->e_machine = EM_AARCH64; in arm64__annotate_init()
/tools/include/uapi/linux/
A Delf.h220 Elf32_Half e_machine; member
237 Elf64_Half e_machine; member
/tools/objtool/arch/loongarch/
A Ddecode.c63 if (elf->ehdr.e_machine == EM_LOONGARCH) in is_loongarch()
66 ERROR("unexpected ELF machine type %d", elf->ehdr.e_machine); in is_loongarch()
/tools/perf/arch/loongarch/annotate/
A Dinstructions.c134 arch->e_machine = EM_LOONGARCH; in loongarch__annotate_init()
/tools/perf/arch/s390/annotate/
A Dinstructions.c169 arch->e_machine = EM_S390; in s390__annotate_init()
/tools/testing/selftests/proc/
A Dproc-pid-vm.c84 uint16_t e_machine; member
174 h.e_machine = 0x3e; in make_exe()
/tools/perf/arch/powerpc/annotate/
A Dinstructions.c312 arch->e_machine = EM_PPC; in powerpc__annotate_init()
/tools/objtool/arch/x86/
A Ddecode.c33 switch (elf->ehdr.e_machine) { in is_x86_64()
39 ERROR("unexpected ELF machine type %d", elf->ehdr.e_machine); in is_x86_64()

Completed in 698 milliseconds

12