-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Option to enable virtualization of perf counters #24697
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Related command
az vm create+az vm updateIs your feature request related to a problem? Please describe.
While there is a tutorial how to do that with Hyper-V using
Set-VMProcessor -Perfmonthere is no such option with machines maintained via azure-cli.Describe the solution you'd like
An option
--enable-perfmonsimilar to Hyper-V's configuration via Powershell mentioned above.Describe alternatives you've considered
Switch from Azure as perf counters are virtualized out of the box with other providers and can be enabled when configuring virtual machines on own hardware.
Additional context
Useful for
perf record,perf stat,vtune,perfgrind,rrand a bunch of other developer software.