projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a packet sequence number
[lttng-modules.git]
/
lib
/
ringbuffer
/
frontend_internal.h
diff --git
a/lib/ringbuffer/frontend_internal.h
b/lib/ringbuffer/frontend_internal.h
index 47c080297ebd45ffd723de7c78caa6130fa672d3..d170e9abd46b27b2cf269bfd1ae40ea33413e8ac 100644
(file)
--- a/
lib/ringbuffer/frontend_internal.h
+++ b/
lib/ringbuffer/frontend_internal.h
@@
-367,6
+367,12
@@
void lib_ring_buffer_check_deliver(const struct lib_ring_buffer_config *config,
buf,
idx));
buf,
idx));
+ /*
+ * Increment the packet counter while we have exclusive
+ * access.
+ */
+ subbuffer_inc_packet_count(config, &buf->backend, idx);
+
/*
* 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.023663 seconds
and
4
git commands to generate.