projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: ust-consumer: segfault on snapshot after regenerate metadata
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.c
diff --git
a/src/common/consumer/consumer.c
b/src/common/consumer/consumer.c
index a903ff9d2a643cda5c090f23ea84829416a55292..ec6af8cc14926876dc7621117b888cc4087752ad 100644
(file)
--- a/
src/common/consumer/consumer.c
+++ b/
src/common/consumer/consumer.c
@@
-3386,6
+3386,8
@@
ssize_t lttng_consumer_read_subbuffer(struct lttng_consumer_stream *stream,
if (!locked_by_caller) {
stream->read_subbuffer_ops.lock(stream);
+ } else {
+ stream->read_subbuffer_ops.assert_locked(stream);
}
if (stream->read_subbuffer_ops.on_wake_up) {
This page took
0.024118 seconds
and
4
git commands to generate.