mirror of https://gitee.com/openkylin/libvirt.git
cgroup: fix a typo on extracting data from vcpu cgroup
This commit is contained in:
parent
c402eebc71
commit
657fef1401
|
@ -13460,7 +13460,7 @@ getSumVcpuPercpuStats(virCgroupPtr group,
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if (virCgroupGetCpuacctPercpuUsage(group, &buf) < 0)
|
||||
if (virCgroupGetCpuacctPercpuUsage(group_vcpu, &buf) < 0)
|
||||
goto cleanup;
|
||||
|
||||
pos = buf;
|
||||
|
|
Loading…
Reference in New Issue