[PATCH 0/2] Fix counting of cores while gathering processor information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Krempa (2):
  nodeinfo: Fix code style and some minor bugs.
  nodeinfo: Fix CPU core counting

 src/nodeinfo.c                                     |  137 +++++---
 .../linux-nodeinfo-sysfs-test-4-cpu-x86-output.txt |    1 +
 .../linux-nodeinfo-sysfs-test-4-x86.cpuinfo        |  400 ++++++++++++++++++++
 .../cpu/cpu0/topology/core_id                      |    1 +
 .../cpu/cpu0/topology/physical_package_id          |    1 +
 .../cpu/cpu0/topology/thread_siblings              |    1 +
 .../cpu/cpu1/topology/core_id                      |    1 +
 .../cpu/cpu1/topology/physical_package_id          |    1 +
 .../cpu/cpu1/topology/thread_siblings              |    1 +
 .../cpu/cpu10/topology/core_id                     |    1 +
 .../cpu/cpu10/topology/physical_package_id         |    1 +
 .../cpu/cpu10/topology/thread_siblings             |    1 +
 .../cpu/cpu11/topology/core_id                     |    1 +
 .../cpu/cpu11/topology/physical_package_id         |    1 +
 .../cpu/cpu11/topology/thread_siblings             |    1 +
 .../cpu/cpu12/topology/core_id                     |    1 +
 .../cpu/cpu12/topology/physical_package_id         |    1 +
 .../cpu/cpu12/topology/thread_siblings             |    1 +
 .../cpu/cpu13/topology/core_id                     |    1 +
 .../cpu/cpu13/topology/physical_package_id         |    1 +
 .../cpu/cpu13/topology/thread_siblings             |    1 +
 .../cpu/cpu14/topology/core_id                     |    1 +
 .../cpu/cpu14/topology/physical_package_id         |    1 +
 .../cpu/cpu14/topology/thread_siblings             |    1 +
 .../cpu/cpu15/topology/core_id                     |    1 +
 .../cpu/cpu15/topology/physical_package_id         |    1 +
 .../cpu/cpu15/topology/thread_siblings             |    1 +
 .../cpu/cpu2/topology/core_id                      |    1 +
 .../cpu/cpu2/topology/physical_package_id          |    1 +
 .../cpu/cpu2/topology/thread_siblings              |    1 +
 .../cpu/cpu3/topology/core_id                      |    1 +
 .../cpu/cpu3/topology/physical_package_id          |    1 +
 .../cpu/cpu3/topology/thread_siblings              |    1 +
 .../cpu/cpu4/topology/core_id                      |    1 +
 .../cpu/cpu4/topology/physical_package_id          |    1 +
 .../cpu/cpu4/topology/thread_siblings              |    1 +
 .../cpu/cpu5/topology/core_id                      |    1 +
 .../cpu/cpu5/topology/physical_package_id          |    1 +
 .../cpu/cpu5/topology/thread_siblings              |    1 +
 .../cpu/cpu6/topology/core_id                      |    1 +
 .../cpu/cpu6/topology/physical_package_id          |    1 +
 .../cpu/cpu6/topology/thread_siblings              |    1 +
 .../cpu/cpu7/topology/core_id                      |    1 +
 .../cpu/cpu7/topology/physical_package_id          |    1 +
 .../cpu/cpu7/topology/thread_siblings              |    1 +
 .../cpu/cpu8/topology/core_id                      |    1 +
 .../cpu/cpu8/topology/physical_package_id          |    1 +
 .../cpu/cpu8/topology/thread_siblings              |    1 +
 .../cpu/cpu9/topology/core_id                      |    1 +
 .../cpu/cpu9/topology/physical_package_id          |    1 +
 .../cpu/cpu9/topology/thread_siblings              |    1 +
 .../linux-nodeinfo-sysfs-test-4/node/node0/meminfo |   29 ++
 .../linux-nodeinfo-sysfs-test-4/node/node1/meminfo |   29 ++
 .../linux-nodeinfo-sysfs-test-4/node/possible      |  Bin 0 -> 5 bytes
 tests/nodeinfotest.c                               |    1 +
 55 files changed, 593 insertions(+), 52 deletions(-)
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4-cpu-x86-output.txt
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4-x86.cpuinfo
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu0/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu0/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu0/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu1/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu1/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu1/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu10/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu10/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu10/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu11/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu11/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu11/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu12/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu12/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu12/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu13/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu13/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu13/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu14/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu14/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu14/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu15/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu15/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu15/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu2/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu2/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu2/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu3/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu3/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu3/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu4/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu4/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu4/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu5/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu5/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu5/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu6/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu6/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu6/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu7/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu7/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu7/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu8/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu8/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu8/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu9/topology/core_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu9/topology/physical_package_id
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/cpu/cpu9/topology/thread_siblings
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/node/node0/meminfo
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/node/node1/meminfo
 create mode 100644 tests/nodeinfodata/linux-nodeinfo-sysfs-test-4/node/possible

-- 
1.7.8.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]