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

[ProfiledAOT] Update workflow to profile apps #9267

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mdh1418
Copy link
Member

@mdh1418 mdh1418 commented Aug 30, 2024

Fixes #7722
.NET 7 introduced a newer Profiled AOT scenario for .NET apps running on mono runtime https://github.com/dotnet/runtime/blob/main/docs/design/mono/profiled-aot.md.

This PR aims to enable the Profiled AOT project to migrate from the legacy aprofutil profiler and follow the newer profiled AOT story while maintaining the single-step ./dotnet-local.sh build src/ProfiledAot/build.proj profile generation.

As the new profiled aot story involves diagnostics tools dotnet-trace and dotnet-dsrouter to collect a trace and bridge the trace collection process with the .NET running on a mobile device/emulator, an automated script is added to keep the number of steps minimal.


There is an issue (not yet created) with dotnet-pgo processing the .nettrace generated from tracing the maui app.

The supported scenario for collecting profiles involves
the diagnostics tools dotnet-trace and dotnet-dsrouter.
To maintain a single step profile workflow, add a script
to automatically record a trace.
@mdh1418 mdh1418 force-pushed the new_profiled_aot_story branch from 2ec162e to 46e063b Compare August 30, 2024 20:09
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.

Support recording custom AOT profiles
1 participant