Skip to content

Commit

Permalink
cpu_profiler: fix comment and name
Browse files Browse the repository at this point in the history
  • Loading branch information
travisdowns committed Feb 20, 2025
1 parent 45984d2 commit 2b9be9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion include/seastar/core/internal/cpu_profiler.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
12 changes: 6 additions & 6 deletions src/core/cpu_profiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
* Copyright (C) 2023 ScyllaDB
*/

#include <chrono>
#include <optional>
#include <random>
#include <chrono>
#include <optional>
#include <random>

#include <seastar/core/internal/cpu_profiler.hh>
#include <seastar/core/scheduling.hh>
#include <seastar/util/log.hh>
#include <seastar/core/internal/cpu_profiler.hh>
#include <seastar/core/scheduling.hh>
#include <seastar/util/log.hh>

namespace seastar {
seastar::logger cpu_profiler_logger("cpu_profiler");
Expand Down

0 comments on commit 2b9be9e

Please sign in to comment.