* skip tests failing on Windows ARM64
* fix CanWriteToPerfCounters condition to properly exclude run on arm
Commit migrated from https://github.com/dotnet/corefx/commit/
229fad3002e6f986b3ae6eab08bc023abaf99bec
internal class Helpers
{
public static bool IsElevatedAndCanWriteToPerfCounters { get => AdminHelpers.IsProcessElevated() && CanWriteToPerfCounters; }
- public static bool CanWriteToPerfCounters { get => PlatformDetection.IsNotWindowsNanoServer; }
+ public static bool CanWriteToPerfCounters { get => PlatformDetection.IsNotWindowsNanoServer && PlatformDetection.IsNotArmNorArm64Process; }
public static string CreateCategory(string name, PerformanceCounterCategoryType categoryType)
{