X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-syscalls.c;h=2ac6cfc1541fc882155fa4bce64986fbcbc3c1cf;hb=refs%2Fheads%2Fstable-2.5;hp=3215564161c1c35987a815106b8638e66db0e745;hpb=abc0446a8da1fe7cc09a546389cbcc932b265520;p=lttng-modules.git diff --git a/lttng-syscalls.c b/lttng-syscalls.c index 32155641..2ac6cfc1 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -48,6 +48,7 @@ struct oldold_utsname; struct old_utsname; struct sel_arg_struct; struct mmap_arg_struct; +struct file_handle; /* * Take care of NOARGS not supported by mainline. @@ -419,7 +420,7 @@ int lttng_syscalls_register(struct lttng_channel *chan, void *filter) if (ret) return ret; #endif - ret = kabi_2635_tracepoint_probe_register("sys_enter", + ret = lttng_wrapper_tracepoint_probe_register("sys_enter", (void *) syscall_entry_probe, chan); if (ret) return ret; @@ -427,11 +428,11 @@ int lttng_syscalls_register(struct lttng_channel *chan, void *filter) * We change the name of sys_exit tracepoint due to namespace * conflict with sys_exit syscall entry. */ - ret = kabi_2635_tracepoint_probe_register("sys_exit", + ret = lttng_wrapper_tracepoint_probe_register("sys_exit", (void *) __event_probe__exit_syscall, chan->sc_exit); if (ret) { - WARN_ON_ONCE(kabi_2635_tracepoint_probe_unregister("sys_enter", + WARN_ON_ONCE(lttng_wrapper_tracepoint_probe_unregister("sys_enter", (void *) syscall_entry_probe, chan)); } return ret; @@ -446,12 +447,12 @@ int lttng_syscalls_unregister(struct lttng_channel *chan) if (!chan->sc_table) return 0; - ret = kabi_2635_tracepoint_probe_unregister("sys_exit", + ret = lttng_wrapper_tracepoint_probe_unregister("sys_exit", (void *) __event_probe__exit_syscall, chan->sc_exit); if (ret) return ret; - ret = kabi_2635_tracepoint_probe_unregister("sys_enter", + ret = lttng_wrapper_tracepoint_probe_unregister("sys_enter", (void *) syscall_entry_probe, chan); if (ret) return ret;