projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename struct channel to struct lttng_kernel_ring_buffer_channel
[lttng-modules.git]
/
include
/
ringbuffer
/
config.h
diff --git
a/include/ringbuffer/config.h
b/include/ringbuffer/config.h
index 9fc3f54ebf8de906a86a4c2ba9eb159d0b0aeb53..a6821267caa0dce139327e2df5022415ece3c8db 100644
(file)
--- a/
include/ringbuffer/config.h
+++ b/
include/ringbuffer/config.h
@@
-17,9
+17,9
@@
#include <lttng/tracer-core.h>
struct lib_ring_buffer;
#include <lttng/tracer-core.h>
struct lib_ring_buffer;
-struct channel;
+struct
lttng_kernel_ring_buffer_
channel;
struct lib_ring_buffer_config;
struct lib_ring_buffer_config;
-struct l
ib
_ring_buffer_ctx;
+struct l
ttng_kernel
_ring_buffer_ctx;
struct lttng_kernel_ring_buffer_ctx_private;
/*
struct lttng_kernel_ring_buffer_ctx_private;
/*
@@
-32,11
+32,11
@@
struct lib_ring_buffer_client_cb {
/* Mandatory callbacks */
/* A static inline version is also required for fast path */
/* Mandatory callbacks */
/* A static inline version is also required for fast path */
- u64 (*ring_buffer_clock_read) (struct channel *chan);
+ u64 (*ring_buffer_clock_read) (struct
lttng_kernel_ring_buffer_
channel *chan);
size_t (*record_header_size) (const struct lib_ring_buffer_config *config,
size_t (*record_header_size) (const struct lib_ring_buffer_config *config,
- struct channel *chan, size_t offset,
+ struct
lttng_kernel_ring_buffer_
channel *chan, size_t offset,
size_t *pre_header_padding,
size_t *pre_header_padding,
- struct l
ib
_ring_buffer_ctx *ctx,
+ struct l
ttng_kernel
_ring_buffer_ctx *ctx,
void *client_ctx);
/* Slow path only, at subbuffer switch */
void *client_ctx);
/* Slow path only, at subbuffer switch */
@@
-63,7
+63,7
@@
struct lib_ring_buffer_client_cb {
* iterator.
*/
void (*record_get) (const struct lib_ring_buffer_config *config,
* iterator.
*/
void (*record_get) (const struct lib_ring_buffer_config *config,
- struct channel *chan, struct lib_ring_buffer *buf,
+ struct
lttng_kernel_ring_buffer_
channel *chan, struct lib_ring_buffer *buf,
size_t offset, size_t *header_len,
size_t *payload_len, u64 *timestamp);
};
size_t offset, size_t *header_len,
size_t *payload_len, u64 *timestamp);
};
@@
-169,7
+169,7
@@
struct lib_ring_buffer_config {
struct lttng_kernel_ring_buffer_ctx_private {
/* input received by lib_ring_buffer_reserve(). */
struct lttng_kernel_ring_buffer_ctx_private {
/* input received by lib_ring_buffer_reserve(). */
- struct
channel *chan;
/* ring buffer channel */
+ struct
lttng_kernel_ring_buffer_channel *chan;
/* ring buffer channel */
/* output from lib_ring_buffer_reserve() */
int reserve_cpu; /* processor id updated by the reserve */
/* output from lib_ring_buffer_reserve() */
int reserve_cpu; /* processor id updated by the reserve */
@@
-198,7
+198,7
@@
struct lttng_kernel_ring_buffer_ctx_private {
* lib_ring_buffer_try_discard_reserve(), lib_ring_buffer_align_ctx() and
* lib_ring_buffer_write().
*/
* lib_ring_buffer_try_discard_reserve(), lib_ring_buffer_align_ctx() and
* lib_ring_buffer_write().
*/
-struct l
ib
_ring_buffer_ctx {
+struct l
ttng_kernel
_ring_buffer_ctx {
/* Private ring buffer context, set by reserve callback. */
struct lttng_kernel_ring_buffer_ctx_private priv;
/* Private ring buffer context, set by reserve callback. */
struct lttng_kernel_ring_buffer_ctx_private priv;
@@
-221,7
+221,7
@@
struct lib_ring_buffer_ctx {
* @largest_align: largest alignment within data payload types
*/
static inline
* @largest_align: largest alignment within data payload types
*/
static inline
-void lib_ring_buffer_ctx_init(struct l
ib
_ring_buffer_ctx *ctx,
+void lib_ring_buffer_ctx_init(struct l
ttng_kernel
_ring_buffer_ctx *ctx,
void *client_priv,
size_t data_size, int largest_align,
struct lttng_kernel_probe_ctx *probe_ctx)
void *client_priv,
size_t data_size, int largest_align,
struct lttng_kernel_probe_ctx *probe_ctx)
@@
-294,7
+294,7
@@
unsigned int lib_ring_buffer_align(size_t align_drift, size_t size_of_type)
* @ctx: ring buffer context.
*/
static inline
* @ctx: ring buffer context.
*/
static inline
-void lib_ring_buffer_align_ctx(struct l
ib
_ring_buffer_ctx *ctx,
+void lib_ring_buffer_align_ctx(struct l
ttng_kernel
_ring_buffer_ctx *ctx,
size_t alignment)
{
ctx->priv.buf_offset += lib_ring_buffer_align(ctx->priv.buf_offset,
size_t alignment)
{
ctx->priv.buf_offset += lib_ring_buffer_align(ctx->priv.buf_offset,
This page took
0.030424 seconds
and
4
git commands to generate.