projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add "flush empty" ioctl for stream intersection
[lttng-modules.git]
/
lib
/
ringbuffer
/
config.h
diff --git
a/lib/ringbuffer/config.h
b/lib/ringbuffer/config.h
index 8fa2c55bdd45375d08ea2570336e9fff1011f984..60174db63a38687e256b3726e7a83dcd0af47209 100644
(file)
--- a/
lib/ringbuffer/config.h
+++ b/
lib/ringbuffer/config.h
@@
-26,8
+26,8
@@
#include <linux/types.h>
#include <linux/percpu.h>
#include <linux/types.h>
#include <linux/percpu.h>
-#include
"../align.h"
-#include
"../../lttng-tracer-core.h"
+#include
<lib/align.h>
+#include
<lttng-tracer-core.h>
struct lib_ring_buffer;
struct channel;
struct lib_ring_buffer;
struct channel;
@@
-200,6
+200,8
@@
struct lib_ring_buffer_ctx {
*/
u64 tsc; /* time-stamp counter value */
unsigned int rflags; /* reservation flags */
*/
u64 tsc; /* time-stamp counter value */
unsigned int rflags; /* reservation flags */
+ /* Cache backend pages pointer chasing. */
+ struct lib_ring_buffer_backend_pages *backend_pages;
};
/**
};
/**
@@
-223,6
+225,7
@@
void lib_ring_buffer_ctx_init(struct lib_ring_buffer_ctx *ctx,
ctx->largest_align = largest_align;
ctx->cpu = cpu;
ctx->rflags = 0;
ctx->largest_align = largest_align;
ctx->cpu = cpu;
ctx->rflags = 0;
+ ctx->backend_pages = NULL;
}
/*
}
/*
@@
-310,6
+313,6
@@
int lib_ring_buffer_check_config(const struct lib_ring_buffer_config *config,
return 0;
}
return 0;
}
-#include
"../../wrapper/ringbuffer/vatomic.h"
+#include
<wrapper/ringbuffer/vatomic.h>
#endif /* _LIB_RING_BUFFER_CONFIG_H */
#endif /* _LIB_RING_BUFFER_CONFIG_H */
This page took
0.023891 seconds
and
4
git commands to generate.