[lttng-dev] [PATCH lttng-tools v5 0/8] Change in poll compat layer

Yannick Lamarre ylamarre at efficios.com
Thu Apr 25 10:36:12 EDT 2019


This revision adresses issues raised on v4. Changes between versions are
listed in there own patch.

Yannick Lamarre (8):
  Fix: lttng_poll_mod calls compat_(e)poll_add
  Add Unit test to poll compatibility layer
  Change LTTNG_POLL_GETNB behaviour for poll flavor
  Adapt poll layer behaviour to match the epoll layer
  Fix hang in thread_rotation when using compat-poll
  Change lttng_poll_wait behaviour of compat-poll to match compat-epoll
  Clean code base from redundant verification
  Fix typo

 .gitignore                                   |   1 +
 src/bin/lttng-consumerd/health-consumerd.c   |   5 -
 src/bin/lttng-relayd/health-relayd.c         |   5 -
 src/bin/lttng-relayd/live.c                  |  10 --
 src/bin/lttng-relayd/main.c                  |  16 --
 src/bin/lttng-sessiond/agent-thread.c        |   5 -
 src/bin/lttng-sessiond/client.c              |   5 -
 src/bin/lttng-sessiond/dispatch.c            |   5 -
 src/bin/lttng-sessiond/health.c              |   5 -
 src/bin/lttng-sessiond/ht-cleanup.c          |   5 -
 src/bin/lttng-sessiond/manage-apps.c         |   5 -
 src/bin/lttng-sessiond/manage-consumer.c     |  10 --
 src/bin/lttng-sessiond/manage-kernel.c       |   5 -
 src/bin/lttng-sessiond/notification-thread.c |   3 -
 src/bin/lttng-sessiond/notify-apps.c         |   5 -
 src/bin/lttng-sessiond/register.c            |   5 -
 src/common/compat/compat-poll.c              |  68 ++++++--
 src/common/compat/poll.h                     |  10 +-
 src/common/consumer/consumer.c               |  10 --
 tests/unit/Makefile.am                       |   9 +-
 tests/unit/test_utils_compat_poll.c          | 234 +++++++++++++++++++++++++++
 21 files changed, 303 insertions(+), 123 deletions(-)
 create mode 100644 tests/unit/test_utils_compat_poll.c

-- 
2.11.0



More information about the lttng-dev mailing list