projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split and remove lttng-share header file
[lttng-tools.git]
/
src
/
common
/
compat
/
poll.h
diff --git
a/src/common/compat/poll.h
b/src/common/compat/poll.h
index a7766400d95adcc5a4b8ed9fb5bb4ce7d0bd21b3..6dca76d81827324f3767efc90bd06948a7b22fba 100644
(file)
--- a/
src/common/compat/poll.h
+++ b/
src/common/compat/poll.h
@@
-21,13
+21,7
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
-#include <common/lttng-share.h>
-
-/*
- * Value taken from the hard limit allowed by the kernel when using setrlimit
- * with RLIMIT_NOFILE on an Intel i7 CPU and Linux 3.0.3.
- */
-#define LTTNG_POLL_DEFAULT_SIZE 65535
+#include <common/common.h>
/*
* Maximum number of fd we can monitor.
/*
* Maximum number of fd we can monitor.
@@
-58,7
+52,7
@@
static inline void __lttng_poll_free(void *events)
#include <sys/epoll.h>
/* See man epoll(7) for this define path */
#include <sys/epoll.h>
/* See man epoll(7) for this define path */
-#define
LTTNG
_EPOLL_PROC_PATH "/proc/sys/fs/epoll/max_user_watches"
+#define
COMPAT
_EPOLL_PROC_PATH "/proc/sys/fs/epoll/max_user_watches"
enum {
/* Polling variables compatibility for epoll */
enum {
/* Polling variables compatibility for epoll */
This page took
0.023216 seconds
and
4
git commands to generate.