Lines Matching +full:ia32 +full:- +full:3 +full:a
1 /* SPDX-License-Identifier: GPL-2.0 */
39 if (is_endbr((void*)(fentry_ip - ENDBR_INSN_SIZE))) in arch_ftrace_get_symaddr()
40 fentry_ip -= ENDBR_INSN_SIZE; in arch_ftrace_get_symaddr()
54 if (!arch_ftrace_regs(fregs)->regs.cs) in arch_ftrace_get_regs()
56 return &arch_ftrace_regs(fregs)->regs; in arch_ftrace_get_regs()
60 (_regs)->ip = arch_ftrace_regs(fregs)->regs.ip; \
61 (_regs)->sp = arch_ftrace_regs(fregs)->regs.sp; \
62 (_regs)->cs = __KERNEL_CS; \
63 (_regs)->flags = 0; \
67 do { arch_ftrace_regs(fregs)->regs.ip = (_ip); } while (0)
86 * When a ftrace registered caller is tracing a function that is
87 * also set by a register_ftrace_direct() call, it needs to be
90 * tells the ftrace_caller that there's a direct caller.
95 /* Emulate a call */ in __arch_ftrace_set_direct_caller()
96 regs->orig_ax = addr; in __arch_ftrace_set_direct_caller()
99 __arch_ftrace_set_direct_caller(&arch_ftrace_regs(fregs)->regs, addr)
131 return !strcmp(sym + 3, name + 3) || in arch_syscall_match_sym_name()
132 (!strncmp(sym, "__x64_", 6) && !strcmp(sym + 9, name + 3)) || in arch_syscall_match_sym_name()
133 (!strncmp(sym, "__ia32_", 7) && !strcmp(sym + 10, name + 3)) || in arch_syscall_match_sym_name()
134 (!strncmp(sym, "__do_sys", 8) && !strcmp(sym + 8, name + 3)); in arch_syscall_match_sym_name()
143 * Because ia32 syscalls do not map to x86_64 syscall numbers
144 * this screws up the trace output when tracing a ia32 task.