corectl_path_alloc
cg->core_default_path = corectl_path_alloc("core");
counter.cc_path = corectl_path_alloc(path);