Fix syscall exit
[lttng-modules.git] / ltt-events.h
index a556e5dfdb5a939d28cac269059329a010d3ed77..dfab9a5ffe5c8f3d443da293e0db845e3d87d9f9 100644 (file)
@@ -242,6 +242,8 @@ 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 */
+       struct ltt_event *sc_exit;      /* for syscall exit */
        int header_type;                /* 0: unset, 1: compact, 2: large */
        int metadata_dumped:1;
 };
@@ -300,7 +302,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
This page took 0.022651 seconds and 4 git commands to generate.