]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cgroup: read more data from cgroup cpuacct.usage_percpu
authorGuannan Ren <gren@redhat.com>
Fri, 31 Aug 2012 08:31:30 +0000 (16:31 +0800)
committerGuannan Ren <gren@redhat.com>
Fri, 31 Aug 2012 08:31:30 +0000 (16:31 +0800)
commitc402eebc71770390f8ce1b400dfe19cbfca30ec7
treebc67e529580713ae175271b63f446015c133980d
parentb10ec38d52db5948abb43699110187f5ad15e560
cgroup: read more data from cgroup cpuacct.usage_percpu

On NUMA machine, the length of string got from file
cpuacct.usage_percpu is quite large, so expand the
limit of 1024 bytes.

errors like:
Failed to read file \
'/cgroup/cpuacct/libvirt/qemu/rhel6q/cpuacct.usage_percpu': \
Value too large for defined data type
src/util/cgroup.c