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

Fix perfview handling of events reporting dynamic helpers #1883

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

janvorli
Copy link
Member

The dynamic helpers are reported with MethodFlags.JitHelper. Events with this flag were ignored by PerfView before this change.

This fixes at least part of dotnet/runtime#88938.

The dynamic helpers are reported with MethodFlags.JitHelper. Events with
this flag were ignored by PerfView before this change.
Copy link
Member

@brianrob brianrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janvorli, thanks for addressing this. Overall looks good - one question below. Also, do you have an example trace that you can share that is affected by this change?

Comment on lines +1427 to +1430
case BasicType.btChar16:
return "char16_t";
case BasicType.btChar32:
return "char32_t";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a separate fix, or is this related to the jit helpers? I would expect it to be a separate fix.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am actually not sure; I've made this change couple of months ago to address my immediate need and forgotten about it. It is possible that this was a separate thing. I am going to test it locally with a dump from @TIHan, so I'll see.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Thanks @janvorli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants