projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ustctl_flush_buffer to the consumer API
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 00937a44dd0172882e03c2ea21d361a1597449c8..775cb1766f62e4a356cf49ca739351c4cedc7dac 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-2044,6
+2044,15
@@
void *lttng_ustctl_get_mmap_base(struct lttng_consumer_stream *stream)
return ustctl_get_mmap_base(stream->ustream);
}
return ustctl_get_mmap_base(stream->ustream);
}
+void lttng_ustctl_flush_buffer(struct lttng_consumer_stream *stream,
+ int producer_active)
+{
+ assert(stream);
+ assert(stream->ustream);
+
+ ustctl_flush_buffer(stream->ustream, producer_active);
+}
+
/*
* Take a snapshot for a specific stream.
*
/*
* Take a snapshot for a specific stream.
*
This page took
0.023704 seconds
and
4
git commands to generate.