Change source url to openeuler repo, and replace tar with
openeuler/vmtop tag v1.1(which is same as v1.0.1):
wget -O vmtop-1.1.tar.gz https://gitee.com/openeuler/vmtop/repository/
archive/v1.1.tar.gz#/vmtop-1.1.tar.gz
Previous judgement to determine whether the vcpustat info matches the process is:
strstr(buf, pid) == buf + 1
But there is an exception that the kvm exit times may contain process pid string.
And then, we will calculate the delta between two defferent process.
So, modify this judgement codition.
bugfix: check unsigned number flip before getting delta
bugfix: exit vmtop when arguments are invalid
bugfix: fix %ST, %GUE, %HYP formula
display: expand row size in TEXT mode
Update source code tar from openeuler/vmtop tag v1.0.1, and update
release number.
changes:
1.Get kvm exit data from vcpu_stat, and add related display items to vmtop.
Related kernel patch:
bbb5023b975ae004462e167fbfb3d2
2.Add some shortcut key, such as 'H' to open thread mode.
3.Add README and related document to project.