diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-04-19 21:58:26 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-04-19 21:58:26 -0700 |
commit | 0eff733cd407e0d5fbabedbf0d7dc19d357595c5 (patch) | |
tree | 02ceea33845d4687ac909edaccae96d89d37d8a5 /src/vm | |
parent | f1e5b8c80ff74ebd719140b7d73747a62238698a (diff) | |
parent | 5c6abe0694a33c245680ec48d36e1fc031798250 (diff) | |
download | coreclr-0eff733cd407e0d5fbabedbf0d7dc19d357595c5.tar.gz coreclr-0eff733cd407e0d5fbabedbf0d7dc19d357595c5.tar.bz2 coreclr-0eff733cd407e0d5fbabedbf0d7dc19d357595c5.zip |
Merge pull request #3879 from manu-silicon/xplat
Enable XplatEventLogger on all non-Windows platforms
Diffstat (limited to 'src/vm')
-rw-r--r-- | src/vm/eventtracepriv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vm/eventtracepriv.h b/src/vm/eventtracepriv.h index 6b2a266728..0689665851 100644 --- a/src/vm/eventtracepriv.h +++ b/src/vm/eventtracepriv.h @@ -412,9 +412,13 @@ private: class XplatEventSourceLogger { public: +#ifdef FEATURE_EVENT_TRACE static void QCALLTYPE LogEventSource(__in_z int eventID, __in_z LPCWSTR eventName, __in_z LPCWSTR eventSourceName, __in_z LPCWSTR payload); - static BOOL QCALLTYPE IsEventSourceLoggingEnabled(); +#else + static void QCALLTYPE LogEventSource(__in_z int eventID, __in_z LPCWSTR eventName, __in_z LPCWSTR eventSourceName, __in_z LPCWSTR payload) {} + static BOOL QCALLTYPE IsEventSourceLoggingEnabled() { return false; } +#endif }; #endif //defined(FEATURE_EVENTSOURCE_XPLAT) |