mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-17 22:10:54 +00:00
Fixed compilation on non linux devices
This commit is contained in:
parent
4151cf7ac8
commit
a329a6a86a
@ -562,8 +562,9 @@ Logger * PerfDescriptorsHolder::getLogger()
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
void PerfEventsCounters::initializeProfileEvents(PerfEventsCounters &) {}
|
void PerfEventsCounters::initializeProfileEvents(PerfEventsCounters &, const std::string &) {}
|
||||||
void PerfEventsCounters::finalizeProfileEvents(PerfEventsCounters &, ProfileEvents::Counters &) {}
|
void PerfEventsCounters::finalizeProfileEvents(PerfEventsCounters &, ProfileEvents::Counters &) {}
|
||||||
|
void PerfEventsCounters::closeEventDescriptors() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -237,8 +237,9 @@ private:
|
|||||||
|
|
||||||
struct PerfEventsCounters
|
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 finalizeProfileEvents(PerfEventsCounters & counters, ProfileEvents::Counters & profile_events);
|
||||||
|
static void closeEventDescriptors();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user