projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trace_uuid -> uuid
[lttng-modules.git]
/
ltt-events.h
diff --git
a/ltt-events.h
b/ltt-events.h
index 5b5dcb50ba14db062314dcfdb67d2aed85d0384e..a5eab5b8b7ca1fecf5ed681282be8a1b08aee123 100644
(file)
--- a/
ltt-events.h
+++ b/
ltt-events.h
@@
-147,6
+147,12
@@
struct ltt_channel_ops {
void (*event_commit)(struct lib_ring_buffer_ctx *ctx);
void (*event_write)(struct lib_ring_buffer_ctx *ctx, const void *src,
size_t len);
void (*event_commit)(struct lib_ring_buffer_ctx *ctx);
void (*event_write)(struct lib_ring_buffer_ctx *ctx, const void *src,
size_t len);
+ /*
+ * packet_avail_size returns the available size in the current
+ * packet. Note that the size returned is only a hint, since it
+ * may change due to concurrent writes.
+ */
+ size_t (*packet_avail_size)(struct channel *chan);
wait_queue_head_t *(*get_reader_wait_queue)(struct ltt_channel *chan);
};
wait_queue_head_t *(*get_reader_wait_queue)(struct ltt_channel *chan);
};
This page took
0.023281 seconds
and
4
git commands to generate.