top: always validate that p-core/e-core identification
authorJim Warner <james.warner@comcast.net>
Sat, 1 Oct 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 3 Oct 2022 23:57:34 +0000 (10:57 +1100)
commitc7568b28fbca2d808e8773c1db939fddf2d00f8a
tree52a29cac3cdae959a0b53f36a336ece36ad87cbd
parentf571746af2ed7a7278cf7a9a742a5b9cf8183710
top: always validate that p-core/e-core identification

Prior to this commit, when the '5' key was struck, top
would check for the presence of e-cores just one time.

That meant if a some cpu was brought online, and it in
turn exposed a new e-core after top has started, users
needed a top restart to activate the  new '5' feature.

So, now we'll check for any e-cores with each '5' key.

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