]> granicus.if.org Git - procps-ng/commit
library: adapted for absent 'core id' in /proc/cpuinfo
authorJim Warner <james.warner@comcast.net>
Tue, 25 Oct 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Tue, 25 Oct 2022 09:16:12 +0000 (20:16 +1100)
commitb89e3230b2baa5b82a2961b240731db95a887f26
tree42df1a98d3dc7d94eb9d90f004a9d35cc2198ea7
parenta42336745071f536d5da3c28628d4b5bf7d45b3d
library: adapted for absent 'core id' in /proc/cpuinfo

A big oops on my part - with a big thanks to Dr. Fink.

[ this version eliminates an extraneous startup call ]
[ to the 'stat_cores_verify' function as superfluous ]

Reference(s):
https://www.freelists.org/post/procps/For-procpsng4001-No-core-id-in-eg-aarch65-or-ppc64le-proccpuinfo

Prototyped by: Dr. Werner Fink <werner@suse.de>
Signed-off-by: Jim Warner <james.warner@comcast.net>
library/stat.c