@@ -27,9 +27,14 @@ /* * Declare your event in jfr/metadata/metadata.xml. * * Include this header to access the machine generated event class. */ + +#if INCLUDE_JFR + #include "jfrfiles/jfrEventClasses.hpp" #include "jfrfiles/jfrEventIds.hpp" +#endif + #endif // SHARE_VM_JFR_JFREVENTS_HPP