X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.h;h=e5cd0eeadeb6198b20958c34f68f517b13aa6710;hb=7c92789f2e3f8b1d17e92ec9ade72fdab159c0f2;hp=cf5acafab8348d7937623bb1376f118ed7827589;hpb=5b7ac358ff8a054b10f1e6c4ed6ea45820d9ced2;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index cf5acafa..e5cd0eea 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -405,6 +405,9 @@ int lttng_syscall_filter_enable(struct lttng_channel *chan, const char *name); int lttng_syscall_filter_disable(struct lttng_channel *chan, const char *name); +long lttng_channel_syscall_mask(struct lttng_channel *channel, + struct lttng_kernel_syscall_mask __user *usyscall_mask); +int lttng_abi_syscall_list(void); #else static inline int lttng_syscalls_register(struct lttng_channel *chan, void *filter) { @@ -416,17 +419,32 @@ static inline int lttng_syscalls_unregister(struct lttng_channel *chan) return 0; } +static inline int lttng_syscall_filter_enable(struct lttng_channel *chan, const char *name) { return -ENOSYS; } +static inline int lttng_syscall_filter_disable(struct lttng_channel *chan, const char *name) { return -ENOSYS; } + +static inline +long lttng_channel_syscall_mask(struct lttng_channel *channel, + struct lttng_kernel_syscall_mask __user *usyscall_mask) +{ + return -ENOSYS; +} + +static inline +int lttng_abi_syscall_list(void) +{ + return -ENOSYS; +} #endif struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx); @@ -556,6 +574,7 @@ void lttng_ftrace_destroy_private(struct lttng_event *event) int lttng_calibrate(struct lttng_kernel_calibrate *calibrate); extern const struct file_operations lttng_tracepoint_list_fops; +extern const struct file_operations lttng_syscall_list_fops; #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) #define TRACEPOINT_HAS_DATA_ARG