-
Notifications
You must be signed in to change notification settings - Fork 409
Fix SharedMemory redirection queue and add telemetry events #6127
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
base: main
Are you sure you want to change the base?
Conversation
| DEFINE_COMPLIANT_MEASURES_EVENT(ActivationRegistrationManager, PDT_ProductAndServiceUsage); | ||
| DEFINE_COMPLIANT_MEASURES_EVENT(Restart, PDT_ProductAndServiceUsage); | ||
|
|
||
| DEFINE_COMPLIANT_MEASURES_EVENT_PARAM1(ActivatedEventAdd, PDT_ProductAndServiceUsage, uint32_t, processId); |
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.
this seems rather noisy to produce at a measures level, do we need this or could it be tracelogging that is captured when the crash dump is collected?
dev/AppLifecycle/SharedMemory.h
Outdated
| OpenInternal(size); | ||
|
|
||
| // OpenInternal needs to account for "size" member of DynamicSharedMemory struct. | ||
| OpenInternal(size + sizeof(size_t)); |
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.
should we just make this adjustment within OpenInternal itself rather than requiring callers to know this? #Resolved
This PR fixes pointer arithmetic of redirection queue, adds comments and telemetry events.