Clarify limitations of the --syscall flag with enable-event command
[lttng-tools.git] / src / common / compat / poll.h
index 8403880cf3742c61f4c01e281a69f2f5ff9084db..b019b42c09ff12f81dfc92a12c6872e318f678ea 100644 (file)
@@ -164,7 +164,7 @@ static inline void lttng_poll_reset(struct lttng_poll_event *events)
  */
 static inline void lttng_poll_init(struct lttng_poll_event *events)
 {
-       lttng_poll_reset(events);
+       memset(events, 0, sizeof(struct lttng_poll_event));
        /* Set fd to -1 so if clean before created, we don't close 0. */
        events->epfd = -1;
 }
This page took 0.029195 seconds and 4 git commands to generate.