16 Commits

Author SHA1 Message Date
haomimi
29622d8dd1 Modify specfile-error in changelog 2022-07-22 14:52:38 +08:00
nocjj
b8ade189a7 arch: add x86 kvm exits items
Support x86 arch for vmtop

Signed-off-by: nocjj <1250062498@qq.com>
2021-04-22 19:14:15 +08:00
Euler Robot
8e5a410092 spec: Update release version with !23
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2021-03-02 21:57:30 +08:00
Euler Robot
68fb9c0c68 spec: Update patch and changelog with !23
version: unified with release version
input: add invalid opt check in input

Signed-off-by: nocjj <1250062498@qq.com>
2021-03-02 21:57:30 +08:00
nocjj
5569dbffb7 bugfix: add check to avoid invalid ptr for strcmp
If len of d_name is less than ".pid", it may pass a invalid ptr
to strcmp, which will cause crash.
2021-01-27 10:43:19 +08:00
nocjj
22c98b45d8 sync patches from openeuler
include:
- vcpu_stat: add remaining kvm exits items to display
- display: modify filter display to support more display fields items
- vcp_stat: add Max Scheduling Delay time items to display
- args: add -p option
- key: add page up/down key response
- vcpu_stat: get vcpu stat list once per display instead of per vcpu
- proc: del /prc/pid/comm read
- display: del screen clear after key response
2020-12-07 15:35:40 +08:00
nocjj
65e68ecf3f spec: change disable x86 from exclude to exclusive
change exclude to exclusive

Signed-off-by: Jiajun Chen <1250062498@qq.com>
2020-11-26 17:36:23 +08:00
nocjj
3ccb4c97f3 spec: disable x86 build in SP1 version
exclude x86 arch since vmtop is not supported in x86 yet.

Signed-off-by: Jiajun Chen <1250062498@qq.com>
2020-11-26 09:27:43 +08:00
Fei Xu
91f976875d 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
2020-10-10 15:51:15 +08:00
Euler Robot
0654c4697a spec: Update release version with !7
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2020-09-28 11:57:52 +08:00
Euler Robot
b640dfbebc spec: Update patch and changelog with !7
vcpustat: modify vcpu info acquirement from debugfs
display: expand %CPU display
display: add limit to usage display
vmtop: simplify print_domain_field
2020-09-28 11:57:52 +08:00
Euler Robot
57654a9e1f spec: Update release version with !6
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2020-09-22 20:18:55 +08:00
Euler Robot
eef4a8d577 spec: Update patch and changelog with !6
vmtop: add -h and -v

Signed-off-by: Ruyi Chen <chenruyi2@huawei.com>
2020-09-22 20:18:48 +08:00
nocjj
84f4b6e4b6 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
2020-09-21 11:55:01 +08:00
nocjj
c30b9f044d vmtop: Show kvm exit items and add document to project
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:
   bbb5023b97
   5ae004462e
   167fbfb3d2
2.Add some shortcut key, such as 'H' to open thread mode.
3.Add README and related document to project.
2020-09-09 20:16:49 +08:00
nocjj
1698025b09 vmtop: package init
Add spec file and source code tar for project to support rpmbuild.
And source code tar comes from openeuler/vmtop's tag v1.0.
2020-08-26 10:00:58 +08:00