Expose viewer_session_set_trace_chunk_copy() so it can be used from
relayd live.c. Needed for clear feature.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ie5892353a13a80481da52f847e691a984e02000f
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
return vsession;
}
-static int viewer_session_set_trace_chunk_copy(struct relay_viewer_session *vsession,
+int viewer_session_set_trace_chunk_copy(struct relay_viewer_session *vsession,
struct lttng_trace_chunk *relay_session_trace_chunk)
{
int ret = 0;
struct relay_session *session);
void viewer_session_close_one_session(struct relay_viewer_session *vsession,
struct relay_session *session);
+int viewer_session_set_trace_chunk_copy(struct relay_viewer_session *vsession,
+ struct lttng_trace_chunk *relay_session_trace_chunk);
#endif /* _VIEWER_SESSION_H */