projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backport: relayd: replace lttng_index_file with relay_index_file
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.c
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index 0f584487a09819b58de9602718bb9a197ffc59ef..d1ee84eae836739c3addd70cb7ec63a337af682c 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-2617,14
+2617,14
@@
static int handle_index_data(struct relay_stream *stream, uint64_t net_seq_num,
/* Put ref on previous index_file. */
if (stream->index_file) {
/* Put ref on previous index_file. */
if (stream->index_file) {
-
lttng
_index_file_put(stream->index_file);
+
relay
_index_file_put(stream->index_file);
stream->index_file = NULL;
}
major = stream->trace->session->major;
minor = stream->trace->session->minor;
stream->index_file = NULL;
}
major = stream->trace->session->major;
minor = stream->trace->session->minor;
- stream->index_file =
lttng
_index_file_create(stream->path_name,
+ stream->index_file =
relay
_index_file_create(stream->path_name,
stream->channel_name,
stream->channel_name,
-
-1, -1,
stream->tracefile_size,
+ stream->tracefile_size,
tracefile_array_get_file_index_head(stream->tfa),
lttng_to_index_major(major, minor),
lttng_to_index_minor(major, minor));
tracefile_array_get_file_index_head(stream->tfa),
lttng_to_index_major(major, minor),
lttng_to_index_minor(major, minor));
This page took
0.032559 seconds
and
5
git commands to generate.