src.ctf.lttng-live: make live_viewer_connection::{relay_hostname,target_hostname...
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 29 Jan 2024 21:15:18 +0000 (16:15 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 17 Apr 2024 17:57:53 +0000 (13:57 -0400)
commit198e791169e07ba1717c22dd3ce38f39caee8872
treef89008d5655b8cccf839503daa65b0f76f3942ca
parent30d81897845993d928eb37ef9226b11b54db3853
src.ctf.lttng-live: make live_viewer_connection::{relay_hostname,target_hostname,session_name,proto} GStringUPs

These values come from GStrings from the common code, not yet C++-ified,
so it's simpler for now to use GStringUP to automatically manage the
GString lifetimes locally.  If the common code ever becomes C++, it can
all be replaced with std::string.

Change-Id: I913ab51488fc934cd049e530a2b7583cc1cefff6
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8470
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12385
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/ctf/lttng-live/viewer-connection.cpp
src/plugins/ctf/lttng-live/viewer-connection.hpp
This page took 0.023896 seconds and 4 git commands to generate.