diff --git a/src/vt/context/runnable_context/perf_data.h b/src/vt/context/runnable_context/perf_data.h index 4ca87c9346..4db59319e2 100644 --- a/src/vt/context/runnable_context/perf_data.h +++ b/src/vt/context/runnable_context/perf_data.h @@ -64,13 +64,9 @@ struct PerfData PerfData() { std::unordered_map> global_map = vt::thePerfEventMap()->getEventMap(); - // std::unordered_map> global_map = { - // {"instructions", std::make_pair(PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS)} - // }; if (global_map.empty()) { - // vtAbort("the PerfEventMap event map is empty; initialize vt::thePerfEventMap->getEventMap(...)"); - fmt::print("the PerfEventMap event map is empty; initialize vt::thePerfEventMap->getEventMap(...)\n"); + vtAbort("the PerfEventMap event map is empty; initialize vt::thePerfEventMap->getEventMap(...)"); } else { const char* env_p = getenv("VT_EVENTS");