projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update comments regarding the power of 2 constraint on sub-buffer sizes
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
fd-limit.c
diff --git
a/src/bin/lttng-sessiond/fd-limit.c
b/src/bin/lttng-sessiond/fd-limit.c
index 17a18afdc7b3f1d8f968f21b6555c2a6f661508d..aefe62f24222fede390779f1d74b5fa39f0af3c4 100644
(file)
--- a/
src/bin/lttng-sessiond/fd-limit.c
+++ b/
src/bin/lttng-sessiond/fd-limit.c
@@
-23,6
+23,7
@@
#include <errno.h>
#include <stdio.h>
#include "fd-limit.h"
#include <errno.h>
#include <stdio.h>
#include "fd-limit.h"
+#include <common/error.h>
/* total count of fd. */
static long fd_count;
/* total count of fd. */
static long fd_count;
@@
-65,7
+66,7
@@
void lttng_fd_init(void)
ret = getrlimit(RLIMIT_NOFILE, &rlim);
if (ret < 0) {
ret = getrlimit(RLIMIT_NOFILE, &rlim);
if (ret < 0) {
-
perror
("getrlimit");
+
PERROR
("getrlimit");
}
max_nr_fd = rlim.rlim_cur;
}
}
max_nr_fd = rlim.rlim_cur;
}
This page took
0.025857 seconds
and
4
git commands to generate.