File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,6 @@ int main(int argc, char** argv)
173173 // Enable backtrace.
174174 enable_backtrace ();
175175
176- // Clean cgroups from a previous run.
177- cleanup_cgroups ();
178-
179176 // Setup and configure config parsing.
180177 CLI::App app (" srsGNB application" );
181178 app.config_formatter (create_yaml_config_parser ());
Original file line number Diff line number Diff line change 99 */
1010
1111#include " srsran/support/unique_thread.h"
12+ #include " srsran/support/sysinfo.h"
1213#include " fmt/ostream.h"
1314#include < cstdio>
1415#include < pthread.h>
@@ -27,6 +28,9 @@ struct cpu_description {
2728// / \brief Compute the CPU set of the caller thread.
2829cpu_description compute_machine_desc ()
2930{
31+ // Clean-up cgroups possibly left from a previous run.
32+ cleanup_cgroups ();
33+
3034 cpu_description desc;
3135 cpu_set_t & cpuset = desc.cpuset ;
3236
You can’t perform that action at this time.
0 commit comments