From: Yannick Lamarre Date: Thu, 25 Apr 2019 22:23:29 +0000 (-0400) Subject: Change LTTNG_POLL_GETNB behaviour for poll flavor X-Git-Tag: v2.12.0-rc1~593 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=7e222fa8b9a75aedecb927bb478d7655ec668752;hp=7e222fa8b9a75aedecb927bb478d7655ec668752;p=lttng-tools.git Change LTTNG_POLL_GETNB behaviour for poll flavor Modify LTTNG_POLL_GETNB to provide compatibility with the epoll flavor. Since it is only used after a lttng_poll_wait call with no modification (add, del, mod) between, this change does not modify the behaviour in its current usage while ensuring similar API behavior between compatibility layer implementations. Signed-off-by: Yannick Lamarre Signed-off-by: Jérémie Galarneau ---