};
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 */
};
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;
};
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);
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