aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu-arm.c
diff options
context:
space:
mode:
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>2020-11-20 00:06:08 -0500
committerKarel Zak <kzak@redhat.com>2020-11-20 09:17:12 +0100
commit788f90d69a43198e648442399967542e98e44d11 (patch)
treee3e785526baba3d325bcd66111b6321c8f05dd32 /sys-utils/lscpu-arm.c
parent3cd676f5ec9800e4eabafc578f31c292992d6396 (diff)
downloadutil-linux-788f90d69a43198e648442399967542e98e44d11.tar.gz
lscpu: add helper to get physical sockets
Add a helper function, get_number_of_physical_sockets_from_dmi(), to get physical sockets from DMI table in case of the sysfs for cpu topology doesn't have the physical socket information. get_number_of_physical_sockets_from_dmi() parse the DMI table and counts the number of SMBIOS Processor Information (Type04) structure. Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Diffstat (limited to 'sys-utils/lscpu-arm.c')
0 files changed, 0 insertions, 0 deletions