X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-events.h;h=a53e2e8922c5b7c17264aa80dc10dd5e53091ad1;hb=f405cfce5e339c7b4b5d44b99d43201d51ef6e4c;hp=395e410e40b33daa175e45f4ee3a49c6dd300fbe;hpb=1ec65de1d61ef4d4c6de6f9b2186167c9de1984e;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 395e410e..a53e2e89 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 */ }; @@ -242,6 +242,7 @@ struct ltt_channel { struct ltt_channel_ops *ops; struct ltt_transport *transport; struct ltt_event **sc_table; /* for syscall tracing */ + struct ltt_event *sc_unknown; /* for unknown syscalls */ int header_type; /* 0: unset, 1: compact, 2: large */ int metadata_dumped:1; }; @@ -278,7 +279,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 +301,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