8000 [XABT] introduce `$(EnableProfiler)` property by jonathanpeppers · Pull Request #10083 · dotnet/android · GitHub
[go: up one dir, main page]

Skip to content

Conversation

jonathanpeppers
Copy link
Member

Context: dotnet/macios#22685
Context: dotnet/macios#19370

To simplify inclusion of the Mono diagnostics component, the iOS/macOS/etc. workloads are introducing a new $(EnableProfiler) property.

To align with Android, we can make $(EnableProfiler) available and work the same way as the existing $(AndroidEnableProfiler) property.

I documented $(AndroidEnableProfiler) (which was missing!), and also added an entry about the new, $(EnableProfiler) property.

Context: dotnet/macios#22685
Context: dotnet/macios#19370

To simplify inclusion of the Mono diagnostics component, the
iOS/macOS/etc. workloads are introducing a new `$(EnableProfiler)`
property.

To align with Android, we can make `$(EnableProfiler)` available and
work the same way as the existing `$(AndroidEnableProfiler)` property.

I documented `$(AndroidEnableProfiler)` (which was missing!), and also
added an entry about the new, `$(EnableProfiler)` property.
@jonathanpeppers
Copy link
Member Author

I thought about updating this doc:

`$(AndroidEnableProfiler)` must be set to `true` as it includes the
Mono diagnostic component in the application. This component is the
`libmono-component-diagnostics_tracing.so` native library.
```sh
$ dotnet build -f net8.0-android -t:Run -c Release -p:AndroidEnableProfiler=true
```

But I think we should wait until this new $(EnableProfiler) property ships.

@jonathanpeppers jonathanpeppers removed the request for review from dellis1972 April 29, 2025 15:46
@jonpryor jonpryor merged commit 829b6c9 into main May 1, 2025
59 checks passed
@jonpryor jonpryor deleted the dev/peppers/EnableProfiler branch May 1, 2025 15:08
jonathanpeppers added a commit that referenced this pull request May 7, 2025
Context: dotnet/macios#22685
Context: dotnet/macios#19370

To simplify inclusion of the Mono diagnostics component, the
iOS/macOS/etc. workloads are introducing a new `$(EnableProfiler)`
MSBuild property.

To align with Android, we can add an `$(EnableProfiler)` MSBuild
property which works the same way as the existing
`$(AndroidEnableProfiler)` MSBuild property.

I documented `$(AndroidEnableProfiler)` (which was missing!), and
also added an entry about the new, `$(EnableProfiler)` property.
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0