X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-events.h;h=2437e76eab5296f8459869bbde249eec6e1f9edd;hb=6d2b30f58197a000b1b91c2f009b4adba8ca21b4;hp=395e410e40b33daa175e45f4ee3a49c6dd300fbe;hpb=1ec65de1d61ef4d4c6de6f9b2186167c9de1984e;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 395e410e..2437e76e 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -158,7 +158,7 @@ struct lttng_event_desc { }; struct lttng_probe_desc { - const struct lttng_event_desc *event_desc; + const struct lttng_event_desc **event_desc; unsigned int nr_events; struct list_head head; /* chain registered probes */ }; @@ -278,7 +278,8 @@ struct ltt_channel *ltt_global_channel_create(struct ltt_session *session, struct ltt_event *ltt_event_create(struct ltt_channel *chan, struct lttng_kernel_event *event_param, - void *filter); + void *filter, + const struct lttng_event_desc *internal_desc); int ltt_channel_enable(struct ltt_channel *channel); int ltt_channel_disable(struct ltt_channel *channel); @@ -299,7 +300,7 @@ void ltt_event_put(const struct lttng_event_desc *desc); int ltt_probes_init(void); void ltt_probes_exit(void); -#ifdef SYSCALL_DETAIL +#ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS int lttng_syscalls_register(struct ltt_channel *chan, void *filter); int lttng_syscalls_unregister(struct ltt_channel *chan); #else