X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.h;h=e2cd544559d512b7443def6035569060a3ced300;hb=53772db24facd84f1f3ddcf21a1ef5f162608721;hp=1b9ab167588ff651d9677d3659e2b920eeca7af4;hpb=2d0428212cbfa3f8428feee160b095f48c2ac974;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 1b9ab167..e2cd5445 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -22,7 +22,7 @@ #include #include -#define lttng_is_signed_type(type) (((type)(-1)) < 0) +#define lttng_is_signed_type(type) (((type) -1) < (type) 1) struct lttng_channel; struct lttng_session; @@ -693,13 +693,13 @@ static inline int lttng_syscalls_destroy(struct lttng_channel *chan) } static inline int lttng_syscall_filter_enable(struct lttng_channel *chan, - struct lttng_event *event); + struct lttng_event *event) { return -ENOSYS; } static inline int lttng_syscall_filter_disable(struct lttng_channel *chan, - struct lttng_event *event); + struct lttng_event *event) { return -ENOSYS; } @@ -716,6 +716,7 @@ int lttng_enabler_attach_bytecode(struct lttng_enabler *enabler, struct lttng_kernel_filter_bytecode __user *bytecode); void lttng_enabler_event_link_bytecode(struct lttng_event *event, struct lttng_enabler *enabler); +void lttng_free_event_filter_runtime(struct lttng_event *event); int lttng_probes_init(void);