projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate and export the sequence number
[lttng-ust.git]
/
libringbuffer
/
frontend_internal.h
diff --git
a/libringbuffer/frontend_internal.h
b/libringbuffer/frontend_internal.h
index 51b652d2a3d2ed5dbb9eb41d0942a522bd4c86a7..00b9508d4df54768767fbe0aaff401cb0f965b0d 100644
(file)
--- a/
libringbuffer/frontend_internal.h
+++ b/
libringbuffer/frontend_internal.h
@@
-446,6
+446,12
@@
void lib_ring_buffer_check_deliver(const struct lttng_ust_lib_ring_buffer_config
handle),
handle);
handle),
handle);
+ /*
+ * Increment the packet counter while we have exclusive
+ * access.
+ */
+ subbuffer_inc_packet_count(config, &buf->backend, idx, handle);
+
/*
* Set noref flag and offset for this subbuffer id.
* Contains a memory barrier that ensures counter stores
/*
* Set noref flag and offset for this subbuffer id.
* Contains a memory barrier that ensures counter stores
This page took
0.024169 seconds
and
4
git commands to generate.