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
/
compat-epoll.c
diff --git
a/src/common/compat/compat-epoll.c
b/src/common/compat/compat-epoll.c
index 5e969ee01115896f1286297966d22d94f216efb1..460bc3b373b4ffb1c7d4f00f381ca49cac1c6890 100644
(file)
--- a/
src/common/compat/compat-epoll.c
+++ b/
src/common/compat/compat-epoll.c
@@
-24,6
+24,7
@@
#include <config.h>
#include <common/lttngerr.h>
#include <config.h>
#include <common/lttngerr.h>
+#include <common/defaults.h>
#include "poll.h"
#include "poll.h"
@@
-195,9
+196,9
@@
void compat_epoll_set_max_size(void)
int ret, fd;
char buf[64];
int ret, fd;
char buf[64];
- poll_max_size =
LTTNG_POLL_DEFAULT
_SIZE;
+ poll_max_size =
DEFAULT_POLL
_SIZE;
- fd = open(
LTTNG
_EPOLL_PROC_PATH, O_RDONLY);
+ fd = open(
COMPAT
_EPOLL_PROC_PATH, O_RDONLY);
if (fd < 0) {
return;
}
if (fd < 0) {
return;
}
@@
-211,7
+212,7
@@
void compat_epoll_set_max_size(void)
poll_max_size = atoi(buf);
if (poll_max_size <= 0) {
/* Extra precaution */
poll_max_size = atoi(buf);
if (poll_max_size <= 0) {
/* Extra precaution */
- poll_max_size =
LTTNG_POLL_DEFAULT
_SIZE;
+ poll_max_size =
DEFAULT_POLL
_SIZE;
}
DBG("epoll set max size is %d", poll_max_size);
}
DBG("epoll set max size is %d", poll_max_size);
This page took
0.023348 seconds
and
4
git commands to generate.