Home
last modified time | relevance | path

Searched refs:trampoline (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
Dftrace.c726 void *trampoline; in create_trampoline() local
749 trampoline = alloc_tramp(size + MCOUNT_INSN_SIZE + sizeof(void *)); in create_trampoline()
750 if (!trampoline) in create_trampoline()
756 ret = probe_kernel_read(trampoline, (void *)start_offset, size); in create_trampoline()
758 tramp_free(trampoline); in create_trampoline()
762 ip = (unsigned long)trampoline + size; in create_trampoline()
766 memcpy(trampoline + size, jmp, MCOUNT_INSN_SIZE); in create_trampoline()
776 ptr = (unsigned long *)(trampoline + size + MCOUNT_INSN_SIZE); in create_trampoline()
780 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
784 tramp_free(trampoline); in create_trampoline()
[all …]
/linux-4.1.27/arch/s390/include/asm/
Duprobes.h40 unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline,
/linux-4.1.27/arch/powerpc/include/asm/
Dmodule.h82 int module_trampoline_target(struct module *mod, u32 *trampoline,
/linux-4.1.27/arch/hexagon/kernel/
DMakefile6 obj-y += process.o trampoline.o reset.o ptrace.o vdso.o
/linux-4.1.27/arch/arm/boot/dts/
Dsocfpga_arria5.dtsi18 /* First 4KB has trampoline code for secondary cores. */
Dsocfpga_cyclone5.dtsi19 /* First 4KB has trampoline code for secondary cores. */
/linux-4.1.27/arch/s390/kernel/
Duprobes.c140 unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline, in arch_uretprobe_hijack_return_addr() argument
146 regs->gprs[14] = trampoline; in arch_uretprobe_hijack_return_addr()
Dkprobes.c719 static struct kprobe trampoline = { variable
726 return register_kprobe(&trampoline); in arch_init_kprobes()
/linux-4.1.27/arch/powerpc/kernel/
Dmodule_64.c177 int module_trampoline_target(struct module *mod, u32 *trampoline, in module_trampoline_target() argument
185 if (probe_kernel_read(buf, trampoline, sizeof(buf))) in module_trampoline_target()
/linux-4.1.27/kernel/trace/
Dftrace.c1180 if (op->trampoline && op->trampoline_size) in is_ftrace_trampoline()
1181 if (addr >= op->trampoline && in is_ftrace_trampoline()
1182 addr < op->trampoline + op->trampoline_size) { in is_ftrace_trampoline()
1720 if (ftrace_rec_count(rec) == 1 && ops->trampoline) in __ftrace_hash_rec_update()
1995 (void *)ops->trampoline); in ftrace_bug()
2127 if (!op->trampoline) in ftrace_find_tramp_ops_any()
2174 if (!op->trampoline) in ftrace_find_tramp_ops_curr()
2239 if (FTRACE_WARN_ON(!ops || !ops->trampoline)) { in ftrace_get_addr_new()
2245 return ops->trampoline; in ftrace_get_addr_new()
2277 return ops->trampoline; in ftrace_get_addr_curr()
[all …]
/linux-4.1.27/arch/arm/kvm/
Dinit.S138 @ Jump to the trampoline page
/linux-4.1.27/Documentation/
Dkprobes.txt113 the return address with the address of a "trampoline." The trampoline
115 At boot time, Kprobes registers a kprobe at the trampoline.
118 passes to the trampoline and that probe is hit. Kprobes' trampoline
209 - a call to the trampoline code which calls user's probe handlers.
567 address with the trampoline's address, stack backtraces and calls
568 to __builtin_return_address() will typically yield the trampoline's
/linux-4.1.27/include/linux/
Dftrace.h171 unsigned long trampoline; member
/linux-4.1.27/arch/sh/mm/
DKconfig107 From the kernel side this is used for the signal trampoline.
/linux-4.1.27/Documentation/devicetree/
Dbooting-without-of.txt213 trampoline located in arch/powerpc/kernel/prom_init.c to
217 the second method. This trampoline code runs in the
222 point is called by a) after the OF trampoline and can also be
567 "phandle" value for every node that the "prom_init()" trampoline code
694 by the trampoline code in the kernel's prom_init() file. For example,
968 the prom_init() trampoline when booting with an OF client interface,
/linux-4.1.27/arch/arm/
DKconfig1567 trampoline, are within range of the branch. For this reason, the