-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Report POH in ETW events #34549
Report POH in ETW events #34549
Conversation
Made new ETW event versions backwards compatible. Now this is ready for review. |
Created an issue in perfview repo to add support for this on PerfView side once this PR is merged. - microsoft/perfview#1146 |
src/coreclr/src/gc/gcee.cpp
Outdated
{ | ||
uint8_t* address = heap_segment_mem (seg); | ||
size_t size = heap_segment_reserved (seg) - heap_segment_mem (seg); | ||
gc_etw_segment_type segment_type = (i == 3) ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gc_etw_segment_type segment_type = (i == 3) ? [](start = 15, length = 46)
why not do (i == loh_generation) here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just did not think about it. It does seem odd.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the rest LGTM! do you also have the change in TraceEvent for this (to test)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks!!! |
Hello @VSadov! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Follow-up item for: #13731
=== When existing events have a way to specify generation, just report POH.
descr_generations_to_profiler
)=== Extend existing events to fit POH.