projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite last GPL bits in relay.c and relay.h
[ust.git]
/
ustd
/
lowlevel.c
diff --git
a/ustd/lowlevel.c
b/ustd/lowlevel.c
index 3509bf58799ab932d27d0618dcae002477ab5084..48bd580ee71d59d93a8be604561b148081e7119f 100644
(file)
--- a/
ustd/lowlevel.c
+++ b/
ustd/lowlevel.c
@@
-19,7
+19,7
@@
#include "tracer.h"
#include "ustd.h"
#include "tracer.h"
#include "ustd.h"
-#include "
local
err.h"
+#include "
ust
err.h"
/* This truncates to an offset in the buffer. */
#define USTD_BUFFER_TRUNC(offset, bufinfo) \
/* This truncates to an offset in the buffer. */
#define USTD_BUFFER_TRUNC(offset, bufinfo) \
@@
-27,10
+27,10
@@
void finish_consuming_dead_subbuffer(struct buffer_info *buf)
{
void finish_consuming_dead_subbuffer(struct buffer_info *buf)
{
- struct
ltt_channel_buf_struct *ltt_
buf = buf->bufstruct_mem;
+ struct
ust_buffer *ust
buf = buf->bufstruct_mem;
- long write_offset = local_read(&
ltt_
buf->offset);
- long consumed_offset = atomic_long_read(&
ltt_
buf->consumed);
+ long write_offset = local_read(&
ust
buf->offset);
+ long consumed_offset = atomic_long_read(&
ust
buf->consumed);
long i_subbuf;
long i_subbuf;
@@
-59,7
+59,7
@@
void finish_consuming_dead_subbuffer(struct buffer_info *buf)
void *tmp;
/* commit_seq is the offset in the buffer of the end of the last sequential commit.
* Bytes beyond this limit cannot be recovered. This is a free-running counter. */
void *tmp;
/* commit_seq is the offset in the buffer of the end of the last sequential commit.
* Bytes beyond this limit cannot be recovered. This is a free-running counter. */
- long commit_seq = local_read(&
ltt_
buf->commit_seq[i_subbuf]);
+ long commit_seq = local_read(&
ust
buf->commit_seq[i_subbuf]);
unsigned long valid_length = buf->subbuf_size;
long n_subbufs_order = get_count_order(buf->n_subbufs);
unsigned long valid_length = buf->subbuf_size;
long n_subbufs_order = get_count_order(buf->n_subbufs);
This page took
0.024829 seconds
and
4
git commands to generate.