if (TRACE_is_enabled() && task->category != nullptr)
simgrid::simix::simcall([comm, task] { comm->get_impl()->set_category(task->category); });
if (TRACE_is_enabled() && task->category != nullptr)
simgrid::simix::simcall([comm, task] { comm->get_impl()->set_category(task->category); });