From 88abaaabadf8bb2af596d1fbe875c58709f6a851 Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Wed, 13 Nov 2024 11:08:48 -0500 Subject: [PATCH] i#6831 sched refactor, step 4: Add missing includes (#7080) Adds used include files to the 3 scheduler subclasses that were omitted when new overrides were added in step 3. Issue: #6831 --- clients/drcachesim/scheduler/scheduler_dynamic.cpp | 11 +++++++++++ clients/drcachesim/scheduler/scheduler_fixed.cpp | 10 ++++++++++ clients/drcachesim/scheduler/scheduler_impl.cpp | 2 +- clients/drcachesim/scheduler/scheduler_replay.cpp | 10 ++++++++++ 4 files changed, 32 insertions(+), 1 deletion(-) diff --git a/clients/drcachesim/scheduler/scheduler_dynamic.cpp b/clients/drcachesim/scheduler/scheduler_dynamic.cpp index 93d9f10ef83..bdb5b553d25 100644 --- a/clients/drcachesim/scheduler/scheduler_dynamic.cpp +++ b/clients/drcachesim/scheduler/scheduler_dynamic.cpp @@ -35,7 +35,18 @@ #include "scheduler.h" #include "scheduler_impl.h" +#include #include +#include +#include +#include + +#include "memref.h" +#include "memtrace_stream.h" +#include "mutex_dbg_owned.h" +#include "reader.h" +#include "record_file_reader.h" +#include "trace_entry.h" namespace dynamorio { namespace drmemtrace { diff --git a/clients/drcachesim/scheduler/scheduler_fixed.cpp b/clients/drcachesim/scheduler/scheduler_fixed.cpp index e465290d5bc..a77836bdb65 100644 --- a/clients/drcachesim/scheduler/scheduler_fixed.cpp +++ b/clients/drcachesim/scheduler/scheduler_fixed.cpp @@ -35,7 +35,17 @@ #include "scheduler.h" #include "scheduler_impl.h" +#include #include +#include +#include +#include + +#include "memref.h" +#include "mutex_dbg_owned.h" +#include "reader.h" +#include "record_file_reader.h" +#include "trace_entry.h" namespace dynamorio { namespace drmemtrace { diff --git a/clients/drcachesim/scheduler/scheduler_impl.cpp b/clients/drcachesim/scheduler/scheduler_impl.cpp index d483a1ff550..54805ba25d8 100644 --- a/clients/drcachesim/scheduler/scheduler_impl.cpp +++ b/clients/drcachesim/scheduler/scheduler_impl.cpp @@ -31,6 +31,7 @@ */ #include "scheduler.h" +#include "scheduler_impl.h" #include #include @@ -61,7 +62,6 @@ #include "mutex_dbg_owned.h" #include "reader.h" #include "record_file_reader.h" -#include "scheduler_impl.h" #include "trace_entry.h" #ifdef HAS_LZ4 # include "lz4_file_reader.h" diff --git a/clients/drcachesim/scheduler/scheduler_replay.cpp b/clients/drcachesim/scheduler/scheduler_replay.cpp index ffc1e13aceb..55465c20f7b 100644 --- a/clients/drcachesim/scheduler/scheduler_replay.cpp +++ b/clients/drcachesim/scheduler/scheduler_replay.cpp @@ -35,7 +35,17 @@ #include "scheduler.h" #include "scheduler_impl.h" +#include #include +#include +#include +#include + +#include "memref.h" +#include "mutex_dbg_owned.h" +#include "reader.h" +#include "record_file_reader.h" +#include "trace_entry.h" namespace dynamorio { namespace drmemtrace {