New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IsEventSourceLoggingEnabled Missing on Linux ARM #5422
Comments
For the time being, I've enabled FEATURE_EVENT_TRACE without visible ill effect. |
@jkotas Any idea about this one? |
There is a mismatch when the FEATURE_EVENTSOURCE_XPLAT is defined on managed vs. managed sides. I think it may be best to:
|
This should make it easy to control whether the x-plat event tracing is enabled through the one central place in top-level CMakeLists.txt. |
@jkotas Will do that. Any special place to add the dummy unmanaged implementation? |
We usually add those right next to the real ones. Or in this case - it may be best to just ifdef out the bodies of the real ones, like:
|
Done so in PR dotnet/coreclr#3879. |
Closed via dotnet/coreclr#3879 |
I'm having an issue on Linux Arm where it cannot find an ID for method
IsEventSourceLoggingEnabled
at line 542 of ecall.cpp (https://github.com/dotnet/coreclr/blob/master/src/vm/ecall.cpp#L542)Turns out that FEATURE_EVENT_TRACE is disabled for Linux ARM by this PR dotnet/coreclr#2935. Should this be reverted back to allow FEATURE_EVENT_TRACE for all platforms? Or should we change mscorlib to not call it when it is not defined?
The text was updated successfully, but these errors were encountered: