projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup
[lttng-ust.git]
/
libringbuffer
/
frontend_api.h
diff --git
a/libringbuffer/frontend_api.h
b/libringbuffer/frontend_api.h
index 1d8e29493655da9709cec47909167177a7c1bcc6..f570cc168174de626d134998571120e8e10a81a7 100644
(file)
--- a/
libringbuffer/frontend_api.h
+++ b/
libringbuffer/frontend_api.h
@@
-253,7
+253,7
@@
void lib_ring_buffer_commit(const struct lib_ring_buffer_config *config,
*/
cmm_smp_wmb();
*/
cmm_smp_wmb();
- v_add(config, ctx->slot_size, &shmp
(handle, buf->commit_hot)[endidx].
cc);
+ v_add(config, ctx->slot_size, &shmp
_index(handle, buf->commit_hot, endidx)->
cc);
/*
* commit count read can race with concurrent OOO commit count updates.
/*
* commit count read can race with concurrent OOO commit count updates.
@@
-273,7
+273,7
@@
void lib_ring_buffer_commit(const struct lib_ring_buffer_config *config,
* count reaches back the reserve offset for a specific sub-buffer,
* which is completely independent of the order.
*/
* count reaches back the reserve offset for a specific sub-buffer,
* which is completely independent of the order.
*/
- commit_count = v_read(config, &shmp
(handle, buf->commit_hot)[endidx].
cc);
+ commit_count = v_read(config, &shmp
_index(handle, buf->commit_hot, endidx)->
cc);
lib_ring_buffer_check_deliver(config, buf, chan, offset_end - 1,
commit_count, endidx, handle);
lib_ring_buffer_check_deliver(config, buf, chan, offset_end - 1,
commit_count, endidx, handle);
This page took
0.024256 seconds
and
4
git commands to generate.