projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: UTS_UBUNTU_RELEASE_ABI is close to overflow
[lttng-modules.git]
/
lib
/
ringbuffer
/
frontend.h
diff --git
a/lib/ringbuffer/frontend.h
b/lib/ringbuffer/frontend.h
index 6f516d989d2add911dd186c7ea3e316f1522a883..41382fe816d8a8643052fd28ddf242b4db9beb9a 100644
(file)
--- a/
lib/ringbuffer/frontend.h
+++ b/
lib/ringbuffer/frontend.h
@@
-79,7
+79,7
@@
void *channel_destroy(struct channel *chan);
#define for_each_channel_cpu(cpu, chan) \
for ((cpu) = -1; \
({ (cpu) = cpumask_next(cpu, (chan)->backend.cpumask); \
#define for_each_channel_cpu(cpu, chan) \
for ((cpu) = -1; \
({ (cpu) = cpumask_next(cpu, (chan)->backend.cpumask); \
- smp_r
ead_barrier_depends
(); (cpu) < nr_cpu_ids; });)
+ smp_r
mb
(); (cpu) < nr_cpu_ids; });)
extern struct lib_ring_buffer *channel_get_ring_buffer(
const struct lib_ring_buffer_config *config,
extern struct lib_ring_buffer *channel_get_ring_buffer(
const struct lib_ring_buffer_config *config,
@@
-155,7
+155,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 = READ_ONCE(buf->finalized);
+ int finalized =
LTTNG_
READ_ONCE(buf->finalized);
/*
* Read finalized before counters.
*/
/*
* Read finalized before counters.
*/
This page took
0.023749 seconds
and
4
git commands to generate.