projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing limits.h include for NAME_MAX
[deliverable/lttng-ust.git]
/
libringbuffer
/
ring_buffer_backend.c
diff --git
a/libringbuffer/ring_buffer_backend.c
b/libringbuffer/ring_buffer_backend.c
index 23802e82321416d81782911e081b4359edd1ba35..9b33408125e96c80981fa3f9bacdd54f716e0efb 100644
(file)
--- a/
libringbuffer/ring_buffer_backend.c
+++ b/
libringbuffer/ring_buffer_backend.c
@@
-6,11
+6,12
@@
* Dual LGPL v2.1/GPL v2 license.
*/
* Dual LGPL v2.1/GPL v2 license.
*/
+#define _GNU_SOURCE
#include <urcu/arch.h>
#include <urcu/arch.h>
-
-#include "lttng/core.h"
+#include <limits.h>
#include <lttng/ringbuffer-config.h>
#include <lttng/ringbuffer-config.h>
+#include "vatomic.h"
#include "backend.h"
#include "frontend.h"
#include "smp.h"
#include "backend.h"
#include "frontend.h"
#include "smp.h"
@@
-293,6
+294,7
@@
int channel_backend_init(struct channel_backend *chanb,
buf = shmp(handle, chanb->buf[0].shmp);
if (!buf)
goto end;
buf = shmp(handle, chanb->buf[0].shmp);
if (!buf)
goto end;
+ set_shmp(buf->self, chanb->buf[0].shmp._ref);
ret = lib_ring_buffer_create(buf, chanb, -1,
handle, shmobj);
if (ret)
ret = lib_ring_buffer_create(buf, chanb, -1,
handle, shmobj);
if (ret)
This page took
0.028158 seconds
and
5
git commands to generate.