1 #include "kprobe_deps.h"
3 DECLARE_MOD_DEP_WRAPPER (module_alloc, void *, unsigned long size)
4 IMP_MOD_DEP_WRAPPER (module_alloc, size)
6 DECLARE_MOD_DEP_WRAPPER (module_free, void, struct module *mod, void *module_region)
7 IMP_MOD_DEP_WRAPPER (module_free, mod, module_region)
9 DECLARE_MOD_DEP_WRAPPER (fixup_exception, int, struct pt_regs * regs)
10 IMP_MOD_DEP_WRAPPER (fixup_exception, regs)
12 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26))
13 DECLARE_MOD_DEP_WRAPPER(text_poke, \
14 void, void *addr, unsigned char *opcode, int len)
16 DECLARE_MOD_DEP_WRAPPER(text_poke, \
17 void *, void *addr, const void *opcode, size_t len)
19 IMP_MOD_DEP_WRAPPER(text_poke, addr, opcode, len)
21 DECLARE_MOD_DEP_WRAPPER(show_registers, void, struct pt_regs * regs)
22 IMP_MOD_DEP_WRAPPER(show_registers, regs)