projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: code refactoring of viewer streams in relayd
[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 730eaf203102886b206aa5d267afc2f8bc9e98b6..02f676df8bc0e1bf56542e2c2394a5cabb59185c 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-62,6
+62,7
@@
#include "live.h"
#include "health-relayd.h"
#include "testpoint.h"
#include "live.h"
#include "health-relayd.h"
#include "testpoint.h"
+#include "viewer-stream.h"
/* command line options */
char *opt_output_path;
/* command line options */
char *opt_output_path;
@@
-1034,7
+1035,7
@@
static void destroy_stream(struct relay_stream *stream)
}
}
}
}
- vstream =
live_find_viewer_stream
_by_id(stream->stream_handle);
+ vstream =
viewer_stream_find
_by_id(stream->stream_handle);
if (vstream) {
/*
* Set the last good value into the viewer stream. This is done
if (vstream) {
/*
* Set the last good value into the viewer stream. This is done
@@
-2379,7
+2380,7
@@
int relay_process_data(struct relay_command *cmd)
(stream->oldest_tracefile_id + 1) %
stream->tracefile_count;
}
(stream->oldest_tracefile_id + 1) %
stream->tracefile_count;
}
- vstream =
live_find_viewer_stream
_by_id(stream->stream_handle);
+ vstream =
viewer_stream_find
_by_id(stream->stream_handle);
if (vstream) {
/*
* The viewer is reading a file about to be
if (vstream) {
/*
* The viewer is reading a file about to be
This page took
0.024318 seconds
and
4
git commands to generate.