ltt_event_create should return error values
[lttng-ust.git] / include / lttng / ust-events.h
index afcc67f910795aaf10cfa63a2be3e0fa58f34741..0ccef46ab33fa8769c0b3fd09424bfd81c4187a0 100644 (file)
@@ -336,9 +336,10 @@ struct ltt_channel *ltt_global_channel_create(struct ltt_session *session,
                                       int *shm_fd, int *wait_fd,
                                       uint64_t *memory_map_size);
 
-struct ltt_event *ltt_event_create(struct ltt_channel *chan,
-                                  struct lttng_ust_event *event_param,
-                                  void *filter);
+int ltt_event_create(struct ltt_channel *chan,
+               struct lttng_ust_event *event_param,
+               void *filter,
+               struct ltt_event **event);
 
 int ltt_channel_enable(struct ltt_channel *channel);
 int ltt_channel_disable(struct ltt_channel *channel);
This page took 0.022953 seconds and 4 git commands to generate.