diff --git a/snapshot/mac/system_snapshot_mac.cc b/snapshot/mac/system_snapshot_mac.cc index 2d6620dd..62eb814c 100644 --- a/snapshot/mac/system_snapshot_mac.cc +++ b/snapshot/mac/system_snapshot_mac.cc @@ -178,10 +178,8 @@ uint32_t SystemSnapshotMac::CPURevision() const { return (family << 16) | (model << 8) | stepping; #elif defined(ARCH_CPU_ARM64) - // TODO(macos_arm64): Verify that this is correct, and pack more information - // if feasible. The Apple A12Z returns hw.cputype = 0x100000c and - // hw.cpusubtype = 2. - return CastIntSysctlByName("hw.cputype", 0); + // TODO(macos_arm64): Verify and test. + return CastIntSysctlByName("hw.cpufamily", 0); #else #error port to your architecture #endif