vcpu_list: pre malloc vcpu list to improve performance
performance: del unnecessary memcpy and memset
keyboard: change wait time to 3s
performance: change memset location
proc: del unused items getting from proc stat refresh
proc: del loop sscanf for proc pid stat file
utils: del realpath from read_file
Signed-off-by: nocjj <1250062498@qq.com>
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
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.