* Check if we have a trace environment string value named `hostname`.
* If so, use it as the trace name's prefix.
*/
* Check if we have a trace environment string value named `hostname`.
* If so, use it as the trace name's prefix.
*/
if (val && bt_value_is_string(val)) {
g_string_append(name, bt_value_string_get(val));
if (val && bt_value_is_string(val)) {
g_string_append(name, bt_value_string_get(val));
ret = set_trace_name(ctf_fs_trace->trace, name, log_level,
self_comp);
if (ret) {
ret = set_trace_name(ctf_fs_trace->trace, name, log_level,
self_comp);
if (ret) {