projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: libcompat is now part of libcommon
[lttng-tools.git]
/
src
/
common
/
compat
/
compat-epoll.c
diff --git
a/src/common/compat/compat-epoll.c
b/src/common/compat/compat-epoll.c
index 6a781c7ae04034f321f974c244df6e43e01e58b3..cf92c63b405044ad767cc579c04297fb50362f5a 100644
(file)
--- a/
src/common/compat/compat-epoll.c
+++ b/
src/common/compat/compat-epoll.c
@@
-67,6
+67,7
@@
error:
/*
* Create epoll set and allocate returned events structure.
*/
/*
* Create epoll set and allocate returned events structure.
*/
+LTTNG_HIDDEN
int compat_epoll_create(struct lttng_poll_event *events, int size, int flags)
{
int ret;
int compat_epoll_create(struct lttng_poll_event *events, int size, int flags)
{
int ret;
@@
-119,6
+120,7
@@
error:
/*
* Add a fd to the epoll set with requesting events.
*/
/*
* Add a fd to the epoll set with requesting events.
*/
+LTTNG_HIDDEN
int compat_epoll_add(struct lttng_poll_event *events, int fd, uint32_t req_events)
{
int ret;
int compat_epoll_add(struct lttng_poll_event *events, int fd, uint32_t req_events)
{
int ret;
@@
-166,6
+168,7
@@
error:
/*
* Remove a fd from the epoll set.
*/
/*
* Remove a fd from the epoll set.
*/
+LTTNG_HIDDEN
int compat_epoll_del(struct lttng_poll_event *events, int fd)
{
int ret;
int compat_epoll_del(struct lttng_poll_event *events, int fd)
{
int ret;
@@
-200,6
+203,7
@@
error:
/*
* Set an fd's events.
*/
/*
* Set an fd's events.
*/
+LTTNG_HIDDEN
int compat_epoll_mod(struct lttng_poll_event *events, int fd, uint32_t req_events)
{
int ret;
int compat_epoll_mod(struct lttng_poll_event *events, int fd, uint32_t req_events)
{
int ret;
@@
-241,6
+245,7
@@
error:
/*
* Wait on epoll set. This is a blocking call of timeout value.
*/
/*
* Wait on epoll set. This is a blocking call of timeout value.
*/
+LTTNG_HIDDEN
int compat_epoll_wait(struct lttng_poll_event *events, int timeout)
{
int ret;
int compat_epoll_wait(struct lttng_poll_event *events, int timeout)
{
int ret;
@@
-293,6
+298,7
@@
error:
/*
* Setup poll set maximum size.
*/
/*
* Setup poll set maximum size.
*/
+LTTNG_HIDDEN
int compat_epoll_set_max_size(void)
{
int ret, fd, retval = 0;
int compat_epoll_set_max_size(void)
{
int ret, fd, retval = 0;
This page took
0.024868 seconds
and
5
git commands to generate.