projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: out of memory error handling
[lttng-modules.git]
/
lib
/
ringbuffer
/
frontend.h
diff --git
a/lib/ringbuffer/frontend.h
b/lib/ringbuffer/frontend.h
index 909abc2dc80c714b9aa1372f1a41625c54b2e6ab..1450cb7faf415d7e73f53b07101b534382474b53 100644
(file)
--- a/
lib/ringbuffer/frontend.h
+++ b/
lib/ringbuffer/frontend.h
@@
-168,7
+168,7
@@
static inline
int lib_ring_buffer_is_finalized(const struct lib_ring_buffer_config *config,
struct lib_ring_buffer *buf)
{
int lib_ring_buffer_is_finalized(const struct lib_ring_buffer_config *config,
struct lib_ring_buffer *buf)
{
- int finalized =
ACCESS
_ONCE(buf->finalized);
+ int finalized =
READ
_ONCE(buf->finalized);
/*
* Read finalized before counters.
*/
/*
* Read finalized before counters.
*/
This page took
0.022888 seconds
and
4
git commands to generate.