Lines Matching refs:e_machine

1468 	int e_machine;  member
2155 name = syscalltbl__name(sc->e_machine, sc->id); in syscall__read_info()
2480 static struct syscall *syscall__new(int e_machine, int id) in syscall__new() argument
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()
2522 static struct syscall *trace__find_syscall(struct trace *trace, int e_machine, int id) in trace__find_syscall() argument
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
2590 sc = trace__find_syscall(trace, e_machine, id); in trace__syscall_info()
2764 int augmented_args_size = 0, e_machine; in trace__sys_enter() local
2770 e_machine = thread__e_machine(thread, trace->host); in trace__sys_enter()
2771 sc = trace__syscall_info(trace, evsel, e_machine, id); in trace__sys_enter()
2844 int augmented_args_size, e_machine; in trace__fprintf_sys_enter() local
2849 e_machine = thread__e_machine(thread, trace->host); in trace__fprintf_sys_enter()
2850 sc = trace__syscall_info(trace, evsel, e_machine, id); in trace__fprintf_sys_enter()
2910 int alignment = trace->args_alignment, e_machine; in trace__sys_exit() local
2915 e_machine = thread__e_machine(thread, trace->host); in trace__sys_exit()
2916 sc = trace__syscall_info(trace, evsel, e_machine, id); in trace__sys_exit()
3266 int e_machine = thread ? thread__e_machine(thread, trace->host) : EM_HOST; in trace__event_handler() local
3267 struct syscall *sc = trace__syscall_info(trace, evsel, e_machine, id); in trace__event_handler()
3759 static void trace__init_syscall_bpf_progs(struct trace *trace, int e_machine, int id) in trace__init_syscall_bpf_progs() argument
3761 struct syscall *sc = trace__syscall_info(trace, NULL, e_machine, id); in trace__init_syscall_bpf_progs()
3770 static int trace__bpf_prog_sys_enter_fd(struct trace *trace, int e_machine, int id) in trace__bpf_prog_sys_enter_fd() argument
3772 struct syscall *sc = trace__syscall_info(trace, NULL, e_machine, id); in trace__bpf_prog_sys_enter_fd()
3776 static int trace__bpf_prog_sys_exit_fd(struct trace *trace, int e_machine, int id) in trace__bpf_prog_sys_exit_fd() argument
3778 struct syscall *sc = trace__syscall_info(trace, NULL, e_machine, id); in trace__bpf_prog_sys_exit_fd()
3782 static int trace__bpf_sys_enter_beauty_map(struct trace *trace, int e_machine, int key, unsigned in… in trace__bpf_sys_enter_beauty_map() argument
3785 struct syscall *sc = trace__syscall_info(trace, NULL, e_machine, key); in trace__bpf_sys_enter_beauty_map()
3882 for (int i = 0, num_idx = syscalltbl__num_idx(sc->e_machine); i < num_idx; ++i) { in trace__find_usable_bpf_prog_entry()
3883 int id = syscalltbl__id_at_idx(sc->e_machine, i); in trace__find_usable_bpf_prog_entry()
3884 struct syscall *pair = trace__syscall_info(trace, NULL, sc->e_machine, id); in trace__find_usable_bpf_prog_entry()
3969 static int trace__init_syscalls_bpf_prog_array_maps(struct trace *trace, int e_machine) in trace__init_syscalls_bpf_prog_array_maps() argument
3982 for (int i = 0, num_idx = syscalltbl__num_idx(e_machine); i < num_idx; ++i) { in trace__init_syscalls_bpf_prog_array_maps()
3983 int prog_fd, key = syscalltbl__id_at_idx(e_machine, i); in trace__init_syscalls_bpf_prog_array_maps()
3988 trace__init_syscall_bpf_progs(trace, e_machine, key); in trace__init_syscalls_bpf_prog_array_maps()
3991 prog_fd = trace__bpf_prog_sys_enter_fd(trace, e_machine, key); in trace__init_syscalls_bpf_prog_array_maps()
3995 prog_fd = trace__bpf_prog_sys_exit_fd(trace, e_machine, key); in trace__init_syscalls_bpf_prog_array_maps()
4002 err = trace__bpf_sys_enter_beauty_map(trace, e_machine, key, (unsigned int *)beauty_array); in trace__init_syscalls_bpf_prog_array_maps()
4038 for (int i = 0, num_idx = syscalltbl__num_idx(e_machine); i < num_idx; ++i) { in trace__init_syscalls_bpf_prog_array_maps()
4039 int key = syscalltbl__id_at_idx(e_machine, i); in trace__init_syscalls_bpf_prog_array_maps()
4040 struct syscall *sc = trace__syscall_info(trace, NULL, e_machine, key); in trace__init_syscalls_bpf_prog_array_maps()
4078 int e_machine __maybe_unused) in trace__init_syscalls_bpf_prog_array_maps()
4821 static size_t syscall__dump_stats(struct trace *trace, int e_machine, FILE *fp, in syscall__dump_stats() argument
4852 sc = trace__syscall_info(trace, /*evsel=*/NULL, e_machine, entry->syscall); in syscall__dump_stats()
4879 struct trace *trace, int e_machine, FILE *fp) in thread__dump_stats() argument
4881 return syscall__dump_stats(trace, e_machine, fp, ttrace->syscall_stats); in thread__dump_stats()
4884 static size_t system__dump_stats(struct trace *trace, int e_machine, FILE *fp) in system__dump_stats() argument
4886 return syscall__dump_stats(trace, e_machine, fp, trace->syscall_stats); in system__dump_stats()
4893 int e_machine = thread__e_machine(thread, trace->host); in trace__fprintf_thread() local
4913 printed += thread__dump_stats(ttrace, trace, e_machine, fp); in trace__fprintf_thread()