Lines Matching +full:ia32 +full:- +full:3 +full:a
1 /* SPDX-License-Identifier: GPL-2.0 */
46 if (get_kernel_nofault(instr, (u32 *)(fentry_ip - ENDBR_INSN_SIZE))) in arch_ftrace_get_symaddr()
49 instr = *(u32 *)(fentry_ip - ENDBR_INSN_SIZE); in arch_ftrace_get_symaddr()
52 fentry_ip -= ENDBR_INSN_SIZE; in arch_ftrace_get_symaddr()
66 if (!arch_ftrace_regs(fregs)->regs.cs) in arch_ftrace_get_regs()
68 return &arch_ftrace_regs(fregs)->regs; in arch_ftrace_get_regs()
72 (_regs)->ip = arch_ftrace_regs(fregs)->regs.ip; \
73 (_regs)->sp = arch_ftrace_regs(fregs)->regs.sp; \
74 (_regs)->cs = __KERNEL_CS; \
75 (_regs)->flags = 0; \
79 do { arch_ftrace_regs(fregs)->regs.ip = (_ip); } while (0)
98 * When a ftrace registered caller is tracing a function that is
99 * also set by a register_ftrace_direct() call, it needs to be
102 * tells the ftrace_caller that there's a direct caller.
107 /* Emulate a call */ in __arch_ftrace_set_direct_caller()
108 regs->orig_ax = addr; in __arch_ftrace_set_direct_caller()
111 __arch_ftrace_set_direct_caller(&arch_ftrace_regs(fregs)->regs, addr)
143 return !strcmp(sym + 3, name + 3) || in arch_syscall_match_sym_name()
144 (!strncmp(sym, "__x64_", 6) && !strcmp(sym + 9, name + 3)) || in arch_syscall_match_sym_name()
145 (!strncmp(sym, "__ia32_", 7) && !strcmp(sym + 10, name + 3)) || in arch_syscall_match_sym_name()
146 (!strncmp(sym, "__do_sys", 8) && !strcmp(sym + 8, name + 3)); in arch_syscall_match_sym_name()
155 * Because ia32 syscalls do not map to x86_64 syscall numbers
156 * this screws up the trace output when tracing a ia32 task.