projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: dyntick field added to trace_rcu_dyntick in v4.16
[lttng-modules.git]
/
lib
/
ringbuffer
/
frontend.h
diff --git
a/lib/ringbuffer/frontend.h
b/lib/ringbuffer/frontend.h
index 4473e86f37592fdce2c286373ee0859342cbafaa..1450cb7faf415d7e73f53b07101b534382474b53 100644
(file)
--- a/
lib/ringbuffer/frontend.h
+++ b/
lib/ringbuffer/frontend.h
@@
-49,7
+49,7
@@
#include <asm/local.h>
/* Internal helpers */
#include <asm/local.h>
/* Internal helpers */
-#include
"../../wrapper/ringbuffer/frontend_internal.h"
+#include
<wrapper/ringbuffer/frontend_internal.h>
/* Buffer creation/removal and setup operations */
/* Buffer creation/removal and setup operations */
@@
-106,6
+106,10
@@
extern void lib_ring_buffer_release_read(struct lib_ring_buffer *buf);
extern int lib_ring_buffer_snapshot(struct lib_ring_buffer *buf,
unsigned long *consumed,
unsigned long *produced);
extern int lib_ring_buffer_snapshot(struct lib_ring_buffer *buf,
unsigned long *consumed,
unsigned long *produced);
+extern int lib_ring_buffer_snapshot_sample_positions(
+ struct lib_ring_buffer *buf,
+ unsigned long *consumed,
+ unsigned long *produced);
extern void lib_ring_buffer_move_consumer(struct lib_ring_buffer *buf,
unsigned long consumed_new);
extern void lib_ring_buffer_move_consumer(struct lib_ring_buffer *buf,
unsigned long consumed_new);
@@
-113,6
+117,9
@@
extern int lib_ring_buffer_get_subbuf(struct lib_ring_buffer *buf,
unsigned long consumed);
extern void lib_ring_buffer_put_subbuf(struct lib_ring_buffer *buf);
unsigned long consumed);
extern void lib_ring_buffer_put_subbuf(struct lib_ring_buffer *buf);
+void lib_ring_buffer_set_quiescent_channel(struct channel *chan);
+void lib_ring_buffer_clear_quiescent_channel(struct channel *chan);
+
/*
* lib_ring_buffer_get_next_subbuf/lib_ring_buffer_put_next_subbuf are helpers
* to read sub-buffers sequentially.
/*
* lib_ring_buffer_get_next_subbuf/lib_ring_buffer_put_next_subbuf are helpers
* to read sub-buffers sequentially.
@@
-161,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.025117 seconds
and
4
git commands to generate.