diff --git a/src/Common/ThreadProfileEvents.cpp b/src/Common/ThreadProfileEvents.cpp index e466b302d30..9ca5dfef7c3 100644 --- a/src/Common/ThreadProfileEvents.cpp +++ b/src/Common/ThreadProfileEvents.cpp @@ -562,8 +562,9 @@ Logger * PerfDescriptorsHolder::getLogger() namespace DB { - void PerfEventsCounters::initializeProfileEvents(PerfEventsCounters &) {} + void PerfEventsCounters::initializeProfileEvents(PerfEventsCounters &, const std::string &) {} void PerfEventsCounters::finalizeProfileEvents(PerfEventsCounters &, ProfileEvents::Counters &) {} + void PerfEventsCounters::closeEventDescriptors() {} } #endif diff --git a/src/Common/ThreadProfileEvents.h b/src/Common/ThreadProfileEvents.h index 32cd253a7d1..29e7fa29d79 100644 --- a/src/Common/ThreadProfileEvents.h +++ b/src/Common/ThreadProfileEvents.h @@ -237,8 +237,9 @@ private: struct PerfEventsCounters { - static void initializeProfileEvents(PerfEventsCounters & counters); + static void initializeProfileEvents(PerfEventsCounters & counters, const std::string & events_list); static void finalizeProfileEvents(PerfEventsCounters & counters, ProfileEvents::Counters & profile_events); + static void closeEventDescriptors(); }; #endif