"BABELTRACE_PLUGIN_CTF_METADATA_LOG_LEVEL",
"BABELTRACE_PLUGIN_CTF_NOTIF_ITER_LOG_LEVEL",
"BABELTRACE_PLUGIN_LTTNG_UTILS_DEBUG_INFO_FLT_LOG_LEVEL",
+ "BABELTRACE_PLUGIN_TEXT_DMESG_SRC_LOG_LEVEL",
+ "BABELTRACE_PLUGIN_UTILS_MUXER_FLT_LOG_LEVEL",
"BABELTRACE_PLUGIN_UTILS_TRIMMER_FLT_LOG_LEVEL",
"BABELTRACE_PYTHON_PLUGIN_PROVIDER_LOG_LEVEL",
NULL,
*/
for (stream_idx = 0; stream_idx < stream_count; stream_idx++) {
const char *stream_path;
- gboolean hash_ret;
port_id = g_new0(struct port_id, 1);
if (!port_id) {
BT_LOGD("Inserting stream intersection ");
- hash_ret = g_hash_table_insert(ctx->intersections,
- port_id, trace_range);
- assert(hash_ret);
+ g_hash_table_insert(ctx->intersections, port_id, trace_range);
port_id = NULL;
trace_range = NULL;
while (*env_var_name) {
if (!getenv(*env_var_name)) {
if (cfg->verbose) {
- setenv(*env_var_name, "I", 1);
+ g_setenv(*env_var_name, "I", 1);
} else if (cfg->debug) {
- setenv(*env_var_name, "V", 1);
+ g_setenv(*env_var_name, "V", 1);
} else {
char val[2] = { 0 };
* explicitly specified.
*/
val[0] = cfg->log_level;
- setenv(*env_var_name, val, 1);
+ g_setenv(*env_var_name, val, 1);
}
}