]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: add very basic cputype code
authorKarel Zak <kzak@redhat.com>
Tue, 17 Mar 2020 12:12:12 +0000 (13:12 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 08:19:02 +0000 (09:19 +0100)
commit405d51edf4374d17130d0f2f109adda263bcd8a4
tree450886da07bcf9819f946c73339b80913c03a684
parentff3c6fd66fa6be33e4f0a5900be9caf95bfc9aa8
lscpu: add very basic cputype code

The current lscpu assumes that all CPUs in the system are the same.
Unfortunately this is not true. We need to split all internal CPUs
descriptions to CPU-type and CPU.

This patch add lscpu-cputype.c where will be CPU-type description --
mostly based on /proc/cpuinfo.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/Makemodule.am
sys-utils/lscpu-cputype.c [new file with mode: 0644]