commit | 9a2fcdbbd6814aa2659eb8a82c80ac2597c6716a | [log] [tgz] |
---|---|---|
author | Mark Mentovai <mark@chromium.org> | Thu Sep 03 08:17:07 2020 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 07:15:02 2021 -0800 |
tree | ec97761b5dbbac0b7e950331d01baed00b402612 | |
parent | 29dc778e03ddb43081f5ec4f6245497e9a490835 [diff] |
mac-arm64: Don’t attempt to determine the CPU frequency Apple has never exposed the CPU frequency on ARM systems. Report it as 0 on mac-arm64 without attempting to obtain it from the system (which would log a warning in the process). This will resolve these harmless warnings produced when Crashpad creates a snapshot on arm64: [pid:tid:yyyymmdd,hhmmss.µµµµµµ:WARNING system_snapshot_mac.cc:50] sysctlbyname hw.cpufrequency: No such file or directory (2) [pid:tid:yyyymmdd,hhmmss.µµµµµµ:WARNING system_snapshot_mac.cc:50] sysctlbyname hw.cpufrequency_max: No such file or directory (2) Bug: chromium:1103944 Change-Id: Iedea50355430546de5f94a028ecc91ed83319245 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2392076 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> GitOrigin-RevId: ca88ff1edb8e998c8af3fdb985ec6e3f22ee2663
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.