| add README.zh.md. update README.md Signed-off-by: gomico <smiku294@live.cn> Signed-off-by: yezengruan <yezengruan@huawei.com> | 4 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| bugfix: add check to avoid invalid ptr for strcmp If len of d_name is less than "pid", it will pass a invalid ptr to strcmp, which will cause crash. | 5 年前 |
| spec: Update release and changelog 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 | 5 年前 |
| spec: Update release and changelog 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 | 5 年前 |
| spec: Update release and changelog 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 | 5 年前 |
| bugfix:fixed display error caused by missing signal_exits field | 1 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| display: add limit to usage display Because of time accuracy, the usage sometime may be more than vcpu nums. This is a matter of precision, so add limit to these usage. | 5 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| display: expand %CPU display Now, %CPU's align is 6, and is not enough to display VM that has vcpus more than 10. So expand align to 8. | 5 年前 |
| spec: Update release and changelog 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 | 5 年前 |
| display: modify filter display to support more display fields items If display fields items is more than screen rows, some of fields items can't be displayed in screen. So, start another col to show fields items if screen can't show all content in one col. Signed-off-by: Jiajun Chen <1250062498@qq.com> | 5 年前 |
| input: add invalid opt check in input Add invalid opt check while vmtop start with opts. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| input: change wait mechanism for input Currently, vmtop uses halfdelay to set waiting timeout of input. But, halfdelay's timeout can only be between 1~255, which limits vmtop's functioniing. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| keyboard: change wait time to 3s Currently, key wait time is 1s, which is too short to display vm-exit status. So, change it to 3s. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| performance: change memset location There is no need to clear all mem in add_domains, beacause memcpy will write the front section. We only need to clear the mem in the end, which will improve the performance. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| performance: del unnecessary memcpy and memset There is no need to malloc a new mem to save old domain list data, and now->domains and pre->domains are pointers. So assign now->domains to pre->domains satisfies the requirement. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| proc: del loop sscanf for proc pid stat file Loop sscanf and strtok will take a long cpu time, since get_proc_stat is called per thread. So, replace these with a single sscanf, which will save much cpu time. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| proc: del unused items getting from proc stat refresh Currently, vmtop gets a lot of items from /proc/pid/stat, and there are many unused data in these items, which will add a lot of cpu usage. So, del these item's getting process. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| support displaying bandwidth information | 1 个月前 |
| utils: del realpath from read_file Since the path in read_file is constructed by vmtop, there is no need to use realpath to modify the path. So, del realpath to release cpu time. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| vcpu_list: pre malloc vcpu list to improve performance It costs a lot of time to malloc and memset vcpu_list while getting a new vcpu. And vcpu num is limited to MAX_VCPU_NUM = 1024, so pre malloc MAX_VCPU_NUM mem, which will improve vmtop cpu usage a lot. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| vcpu_stat: add remaining kvm exits items to display Add remaining kvm exits items to display, include: EXTerr, EXTukn, EXTcp153, EXTcp156, EXTcp14m, EXTcp14l, EXTcp146, EXTsmc, EXTsve, EXTdbg, EXTfail Set dafault width to 10 space, and set these items default hidden. Signed-off-by: Jiajun Chen <1250062498@qq.com> | 5 年前 |
| sync code from openeuler:vmtop and update release to 2 | 5 年前 |
| vcpustat: modify vcpu info acquirement from debugfs 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. | 5 年前 |
| version: unified with release version Currently, vmtop release version has been update to 1.1, but version in configure.ac is still 1.0. So, update release version to configure.ac. Signed-off-by: nocjj <1250062498@qq.com> | 5 年前 |
| spec: modify source url 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 | 5 年前 |
| vmtop: add -h and -v Signed-off-by: Ruyi Chen <chenruyi2@huawei.com> | 5 年前 |
| vmtop: simplify print_domain_field Use array to simplify print_domain_field. | 5 年前 |
| support displaying bandwidth information | 1 个月前 |
| add vmtop.yaml. | 4 年前 |