Fixed compilation on non linux devices

This commit is contained in:
Andrey Skobtsov 2020-05-20 21:54:07 +03:00
parent 4151cf7ac8
commit a329a6a86a
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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