diff options
Diffstat (limited to 'src/perfglue')
-rw-r--r-- | src/perfglue/cpu_profiler.cc | 5 | ||||
-rw-r--r-- | src/perfglue/disabled_stubs.cc | 7 | ||||
-rw-r--r-- | src/perfglue/heap_profiler.cc | 4 | ||||
-rw-r--r-- | src/perfglue/heap_profiler.h | 1 |
4 files changed, 11 insertions, 6 deletions
diff --git a/src/perfglue/cpu_profiler.cc b/src/perfglue/cpu_profiler.cc index 8ba15b0af1a..6e6cbe9624a 100644 --- a/src/perfglue/cpu_profiler.cc +++ b/src/perfglue/cpu_profiler.cc @@ -12,10 +12,11 @@ * */ +#include <google/profiler.h> + #include "common/LogClient.h" -#include "perfglue/cpu_profiler.h" -#include <google/profiler.h> +#include "cpu_profiler.h" void cpu_profiler_handle_command(const std::vector<std::string> &cmd, ostream& out) diff --git a/src/perfglue/disabled_stubs.cc b/src/perfglue/disabled_stubs.cc index dfbc0e663d8..d51400e9496 100644 --- a/src/perfglue/disabled_stubs.cc +++ b/src/perfglue/disabled_stubs.cc @@ -12,12 +12,13 @@ * */ -#include "common/LogClient.h" -#include "perfglue/cpu_profiler.h" - #include <vector> #include <string> +#include "common/LogClient.h" + +#include "cpu_profiler.h" + void cpu_profiler_handle_command(const std::vector<std::string> &cmd, ostream& out) { diff --git a/src/perfglue/heap_profiler.cc b/src/perfglue/heap_profiler.cc index 9b3eaf93798..9c232903c4d 100644 --- a/src/perfglue/heap_profiler.cc +++ b/src/perfglue/heap_profiler.cc @@ -14,12 +14,14 @@ #include <google/heap-profiler.h> #include <google/malloc_extension.h> -#include "heap_profiler.h" + #include "common/environment.h" #include "common/LogClient.h" #include "global/global_context.h" #include "global/debug.h" +#include "heap_profiler.h" + bool ceph_using_tcmalloc() { return true; diff --git a/src/perfglue/heap_profiler.h b/src/perfglue/heap_profiler.h index dac20d4fa31..efd796d20d2 100644 --- a/src/perfglue/heap_profiler.h +++ b/src/perfglue/heap_profiler.h @@ -15,6 +15,7 @@ #include <string> #include <vector> + #include "common/config.h" class LogClient; |