wrapper: powerpc64: fix kernel crash caused by do_get_kallsyms
[lttng-modules.git] / lttng-events.h
index 1b9ab167588ff651d9677d3659e2b920eeca7af4..e2cd544559d512b7443def6035569060a3ced300 100644 (file)
@@ -22,7 +22,7 @@
 #include <lttng-abi.h>
 #include <lttng-abi-old.h>
 
-#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);
 
This page took 0.024618 seconds and 4 git commands to generate.