projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename `enum lttng_enabler_type` to `_format_type`
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index b265bcd3c61e254c9e8dc889d56fef389f2c18e1..4432a5da396d1a2f574ab74d5200e209ada277a3 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-42,6
+42,7
@@
#include <urcu/futex.h>
#include <urcu/compiler.h>
#include <urcu/futex.h>
#include <urcu/compiler.h>
+#include <lttng/align.h>
#include <lttng/ust-events.h>
#include <lttng/ust-abi.h>
#include <lttng/ust.h>
#include <lttng/ust-events.h>
#include <lttng/ust-abi.h>
#include <lttng/ust.h>
@@
-1173,7
+1174,7
@@
void cleanup_sock_info(struct sock_info *sock_info, int exiting)
if (sock_info->wait_shm_mmap) {
long page_size;
if (sock_info->wait_shm_mmap) {
long page_size;
- page_size =
sysconf(_SC_PAGE_SIZE)
;
+ page_size =
LTTNG_UST_PAGE_SIZE
;
if (page_size <= 0) {
if (!page_size) {
errno = EINVAL;
if (page_size <= 0) {
if (!page_size) {
errno = EINVAL;
This page took
0.039579 seconds
and
4
git commands to generate.