diff --git a/core/plugins/tracing/TracingPlugin.hpp b/core/plugins/tracing/TracingPlugin.hpp index b4f36f12..8ca4f9f9 100644 --- a/core/plugins/tracing/TracingPlugin.hpp +++ b/core/plugins/tracing/TracingPlugin.hpp @@ -4,9 +4,15 @@ #include #include "controller/ExperimentFlow.hpp" #include "util/MemoryMap.hpp" +#include "config/FailConfig.hpp" #include "plugins/tracing/trace.pb.h" +// Check if configuration dependencies are satisfied: +#if !defined(CONFIG_EVENT_BREAKPOINTS) || !defined(CONFIG_EVENT_MEMREAD) || !defined(CONFIG_EVENT_MEMWRITE) + #error This experiment needs: breakpoints & read/write memory access. Enable these in the cmake-configuration tool. +#endif + /** * \class TracingPlugin *