diff --git a/include/seastar/core/internal/cpu_profiler.hh b/include/seastar/core/internal/cpu_profiler.hh index d7a58af4b7..aad4e69111 100644 --- a/include/seastar/core/internal/cpu_profiler.hh +++ b/include/seastar/core/internal/cpu_profiler.hh @@ -44,7 +44,8 @@ struct cpu_profiler_trace { simple_backtrace user_backtrace; kernel_trace_vec kernel_backtrace; // The scheduling group active at the time the same was taken. Note that - // non-task reactor work (such as polling) + // non-task reactor work (such as polling) ends up the in the default + // scheduling group (with name "main"). scheduling_group sg; }; diff --git a/src/core/cpu_profiler.cc b/src/core/cpu_profiler.cc index 612f420a16..eb583b31a0 100644 --- a/src/core/cpu_profiler.cc +++ b/src/core/cpu_profiler.cc @@ -19,13 +19,13 @@ * Copyright (C) 2023 ScyllaDB */ - #include - #include - #include +#include +#include +#include - #include - #include - #include +#include +#include +#include namespace seastar { seastar::logger cpu_profiler_logger("cpu_profiler");