Skip to content
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

Regression in vm/corhost.cpp #10027

Closed
llamadonica opened this issue Mar 25, 2018 · 6 comments
Closed

Regression in vm/corhost.cpp #10027

llamadonica opened this issue Mar 25, 2018 · 6 comments

Comments

@llamadonica
Copy link
Contributor

dotnet/coreclr#17080 Adds information to EventPipe in corhost.cpp

EventPipe is only defined when FEATURE_PERFTRACING is turned on, so the build currently breaks when PERFTRACING is off. This affects android builds (and anyone else without liblttng-ust-dev)

llamadonica referenced this issue in llamadonica/coreclr Mar 25, 2018
@llamadonica
Copy link
Contributor Author

@adamsitnik (since you were the original reviewer): This seems like such a minor issue. Can I just submit a PR?

@adamsitnik
Copy link
Member

@llamadonica sure!

@adamsitnik
Copy link
Member

/cc @brianrob

@brianrob
Copy link
Member

@llamadonica, thanks for reporting this. Yes, feel free to submit a PR for this, or I can do this as well.

Can you tell me more about the android builds? Where are these built out of? I'm not aware of any official build that we do where FEATURE_PERFTRACING is disabled.

@llamadonica
Copy link
Contributor Author

The android builds are using these instructions https://github.com/dotnet/coreclr/blob/master/Documentation/building/android.md and the libttng issue is here: #9493 (along with various other unrelated android build tips.)

FEATURE_PERFTRACING is disabled by default when FEATURE_EVENT_TRACE is disabled, which is why I came the issue while doing an android x86 build for termux. This only affects unofficial builds, but it seems like the feature flags should work correctly if they're there.

@brianrob
Copy link
Member

Thanks much @llamadonica. Agreed they should work if they're present - just wasn't familiar with the android build instructions.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants