Repository navigation
Comparing changes
Open a pull request
base repository: shirou/gopsutil
base: v4.26.5
head repository: shirou/gopsutil
compare: v4.26.6
- 8 commits
- 9 files changed
- 4 contributors
Commits on Apr 30, 2026
-
fix(sensors/darwin): parse sp78 temperatures instead of returning 0.0
The Intel macOS SMC returns temperature readings in sp78 format (signed 7.8 fixed-point: high byte = signed integer degrees, low byte = fractional part in 1/256 increments). The previous code detected this format correctly but then unconditionally returned 0.0 for it. This caused all `TemperaturesWithContext` results on Intel Macs to report 0.0°C for every sensor — even though `NewSMC()` succeeded, the IOKit connection was open, and the keys were being read successfully. This patch parses the two-byte response according to the sp78 spec. Verified on Mac mini 2018 (Intel Core i5-8500B, T2 chip) running macOS 15.7.5 (Sequoia): Before: TC0P: 0.0°C TM0P: 0.0°C TW0P: 0.0°C (all 21 keys returned 0.0) After: TC0P: 60.3°C (CPU 0 Proximity) TM0P: 57.6°C (Memory Slots Proximity) TW0P: 49.6°C (Wireless Module) (other keys correctly return 0 on this hardware — they are not present on the T2 platform; values match `osx-cpu-temp` output of 59.7°C) Affected platforms: all `darwin && !arm64` builds (Intel Macs). Note that Apple Silicon Macs use a different sensor backend (sensors_darwin_arm64.go) and are not affected by this bug.
drutsan committedApr 30, 2026 Configuration menu - View commit details
-
Copy full SHA for 28add59 - Browse repository at this point
Copy the full SHA 28add59View commit details
Commits on Jun 7, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 0dff2e5 - Browse repository at this point
Copy the full SHA 0dff2e5View commit details
Commits on Jun 12, 2026
-
[cpu][linux]: Add support for CPU clusters in lscpu tests
The lscpu tool can print various fields for CPU Clusters, and no Socket field. Adapt the code for that kind of output, seen on an ARM64 CI system. See util-linux/sys-utils/lscpu.c:print_summary_cputype().
Configuration menu - View commit details
-
Copy full SHA for 7098e80 - Browse repository at this point
Copy the full SHA 7098e80View commit details
Commits on Jun 13, 2026
-
[mem]: fix OpenBSD virtual memory on -current
VirtualMemory() on OpenBSD reads the vfs.generic.bcachestat sysctl into the generated Bcachestats struct and rejects the result when the kernel returns fewer bytes than sizeOfBcachestats: error getting virtual memory info: short syscall ret 104 bytes OpenBSD removed the buffer cache "flipper" in kernel commit ff03df9b11f ("Remove the buffer flipper", 2026-06-10), which deletes the dmapages, highpages, highflips, highflops and dmaflips fields from struct bcachestats (sys/sys/mount.h). struct bcachestats is now 13 int64_t fields = 104 bytes on every architecture. https://marc.info/?l=openbsd-cvs&m=178104984860610&w=2 Our generated per-arch files still expected the larger struct (0x78 on amd64, 0x90 on the others), so the length guard tripped and mem metrics broke on -current. Regenerate the struct for all OpenBSD arches: drop the removed fields and set sizeOfBcachestats to 0x68 (104). Only Numbufpages (offset 8) is consumed, and the guard is `length < sizeOfBcachestats`, so this stays compatible with older OpenBSD releases that return a larger struct.Configuration menu - View commit details
-
Copy full SHA for 1d3af56 - Browse repository at this point
Copy the full SHA 1d3af56View commit details
Commits on Jun 20, 2026
-
Merge pull request #2084 from drutsan/fix/darwin-temperature-sp78
fix(sensors/darwin): parse sp78 temperatures instead of returning 0.0
Configuration menu - View commit details
-
Copy full SHA for e093580 - Browse repository at this point
Copy the full SHA e093580View commit details -
Merge pull request #2101 from shirou/fix/2100-disk-zfs-btrfs-partitions
[disk][linux]: fix missiing sub volume partitions on zfs and btrfs
Configuration menu - View commit details
-
Copy full SHA for 62c57ea - Browse repository at this point
Copy the full SHA 62c57eaView commit details -
Merge pull request #2103 from guillemj/pu/lscpu-clusters
[cpu][linux]: Add support for CPU clusters in lscpu tests
Configuration menu - View commit details
-
Copy full SHA for c0390a2 - Browse repository at this point
Copy the full SHA c0390a2View commit details -
Merge pull request #2104 from atanas-vladimirov/openbsd
[mem]: fix OpenBSD virtual memory on -current
Configuration menu - View commit details
-
Copy full SHA for 50a6b05 - Browse repository at this point
Copy the full SHA 50a6b05View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.26.5...v4.26.6