X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Fevents.h;h=05b0f7cf7a9740a1e32ade6753cd91fa763e379b;hb=cff6938b5405c9125a5149f03e504d7b1cc4b8a4;hp=bee47105fa2dfe57f589245dc1c00f24aac8bcbf;hpb=2d6d88c64dad61235a5693bcf4854765ec62d095;p=lttng-modules.git diff --git a/include/lttng/events.h b/include/lttng/events.h index bee47105..05b0f7cf 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -10,12 +10,12 @@ #ifndef _LTTNG_EVENTS_H #define _LTTNG_EVENTS_H -#include #include #include #include #include #include +#include #include #include #include @@ -320,7 +320,6 @@ struct lttng_event { } kretprobe; struct lttng_uprobe uprobe; struct { - char *syscall_name; enum lttng_syscall_entryexit entryexit; enum lttng_syscall_abi abi; } syscall; @@ -774,10 +773,13 @@ void lttng_clock_unref(void); int lttng_syscalls_register_event(struct lttng_channel *chan, void *filter); int lttng_syscalls_unregister_event(struct lttng_channel *chan); int lttng_syscalls_destroy_event(struct lttng_channel *chan); -int lttng_syscall_filter_enable_event(struct lttng_channel *chan, +int lttng_syscall_filter_enable_event( + struct lttng_channel *chan, struct lttng_event *event); -int lttng_syscall_filter_disable_event(struct lttng_channel *chan, +int lttng_syscall_filter_disable_event( + struct lttng_channel *chan, struct lttng_event *event); + long lttng_channel_syscall_mask(struct lttng_channel *channel, struct lttng_kernel_syscall_mask __user *usyscall_mask);