X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.h;h=118ea3b0db52d82e6072e17aa901c1850e22e43c;hb=ac10c55d6015f16a54f7dbe0c3423e58100b82b6;hp=a537673ab605b92cad3ce00c0747800a516d00b4;hpb=12e579dbcb23fab949879ed03a1757d22bd8a6b2;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index a537673a..118ea3b0 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -167,6 +167,7 @@ struct lttng_ctx { struct lttng_ctx_field *fields; unsigned int nr_fields; unsigned int allocated_fields; + size_t largest_align; /* in bytes */ }; struct lttng_event_desc { @@ -407,6 +408,7 @@ 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) { @@ -418,29 +420,36 @@ static inline int lttng_syscalls_unregister(struct lttng_channel *chan) return 0; } -static +static inline int lttng_syscall_filter_enable(struct lttng_channel *chan, const char *name) { return -ENOSYS; } -static +static inline int lttng_syscall_filter_disable(struct lttng_channel *chan, const char *name) { return -ENOSYS; } -static +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); +void lttng_context_update(struct lttng_ctx *ctx); int lttng_find_context(struct lttng_ctx *ctx, const char *name); void lttng_remove_context_field(struct lttng_ctx **ctx, struct lttng_ctx_field *field);