]> granicus.if.org Git - procps-ng/commit
top: also adapted to absent 'core id' in /proc/cpuinfo
authorJim Warner <james.warner@comcast.net>
Tue, 25 Oct 2022 10:05:05 +0000 (05:05 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sun, 30 Oct 2022 10:18:30 +0000 (21:18 +1100)
commit2647eb57da100823ffdb2f8afffbfd59e2887e8f
tree842f76a5c9f17bc355bff0d66eca6a4b1ad64c60
parent474e22eb0be520d2c748355ff7dd5a45753403cf
top: also adapted to absent 'core id' in /proc/cpuinfo

Just as our library was made responsive to a potential
missing 'core id', the top program should also change.

That's because he has his own PRETENDECORE #define and
if that was activated on a platform without 'core id',
the 'CpP' notations would have otherwise been omitted.

Reference(s):
. Oct, 2022 - library fix for missing 'core id'
commit b89e3230b2baa5b82a2961b240731db95a887f26

Signed-off-by: Jim Warner <james.warner@comcast.net>
src/top/top.c