;perf kvm stat" as Ingo's suggestion
- track kvm events for the specified guest
- rename kvm_mmio_done to kvm_io_done
- fix compiling-error on i386
Dong Hao (3):
KVM: x86: export svm/vmx exit code and vector code to userspace
KVM: x86: tracemmio begin and complete
KVM: perf kvm events a
trace the time when mmio/pio is
completed
[ Dong Hao : rebase it on current kvm tree ]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
arch/x86/kvm/x86.c | 32
include/trace/events/kvm.h | 37 +
2 files c
From: Xiao Guangrong
They will be needed by 'perf kvm stat'
[ Dong Hao : rebase it on current kvm/tip tree]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
arch/x86/include/asm/kvm_host.h | 36 ---
arch/x86/include/asm/svm.h
+- 16.85% )
Total Samples:153, Total events handled time:19348.87us.
[ Dong Hao :
- rebase it on current tip tree
- fix the compiling-error on i386
]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
tools/perf/Documentation/perf-kvm.txt | 30 ++-
tools/per
VIOLATION 205718.85% 0.12% 3.15us ( +- 1.33% )
CPUID368 3.37% 0.02% 2.82us ( +- 2.79% )
Total Samples:10914, Total events handled time:5521782.02us.
Dong Hao (3):
KVM: x86: export svm/vmx exit code and vector code to userspace
KVM: x86: tr
trace the time when mmio/pio is
completed
[ Dong Hao : rebase it on current kvm tree ]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
arch/x86/kvm/x86.c | 32
include/trace/events/kvm.h | 37 +
2 files c
ts handled time:5521782.02us.
[ Dong Hao :
- rebase it on current acme's tree
- fix the compiling-error on i386
]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
tools/perf/Documentation/perf-kvm.txt | 30 +-
tools/perf/MANIFEST |3 +
tools/per
From: Xiao Guangrong
Exporting KVM exit information to userspace to be consumed by perf.
[ Dong Hao : rebase it on acme's git tree ]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
arch/x86/include/asm/kvm_host.h | 36 ---
arch/x86/include/asm/svm.h |
EPT_VIOLATION 205718.85% 0.12% 3.15us ( +- 1.33% )
CPUID368 3.37% 0.02% 2.82us ( +- 2.79% )
Total Samples:10914, Total events handled time:5521782.02us.
Dong Hao (3):
KVM: x86: export svm/vmx exit code and vector code to userspace
KVM: x
From: Xiao Guangrong
Exporting KVM exit information to userspace to be consumed by perf.
[ Dong Hao : rebase it on acme's git tree ]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
arch/x86/include/asm/kvm_host.h | 36 ---
arch/x86/include/asm/svm.h |
trace the time when mmio/pio is
completed
[ Dong Hao : rebase it on current kvm tree ]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
arch/x86/kvm/x86.c | 32
include/trace/events/kvm.h | 37 +
2 files c
ts handled time:5521782.02us.
[ Dong Hao :
- rebase it on current acme's tree
- fix the compiling-error on i386
]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
tools/perf/Documentation/perf-kvm.txt | 30 +-
tools/perf/MANIFEST |3 +
tools/per
NSTRUCTION 2 1.03% 0.00% 17.77us ( +- 20.56% )
CR_ACCESS 2 1.03% 0.00% 8.55us ( +- 6.47% )
PENDING_INTERRUPT 5 2.56% 0.00% 6.27us ( +- 3.94% )
Total Samples:195, Total events handled time:10959950.90us.
Dong Hao (3):
From: Xiao Guangrong
Exporting KVM exit information to userspace to be consumed by perf.
[ Dong Hao : rebase it on acme's git tree ]
Signed-off-by: Dong Hao
Signed-off-by: Xiao Guangrong
---
arch/x86/include/asm/kvm.h | 16 +++
arch/x86/include/asm/kvm_host.h | 16 ---
arc
2 1.03% 0.00% 17.77us ( +- 20.56% )
CR_ACCESS 2 1.03% 0.00% 8.55us ( +- 6.47% )
PENDING_INTERRUPT 5 2.56% 0.00% 6.27us ( +- 3.94% )
Total Samples:195, Total events handled time:10959950.90us.
[ Dong Hao
Ru
From: Xiao Guangrong
Then, the code can be shared between kvm events and perf stat
[ Dong Hao : rebase it on acme's git tree ]
Signed-off-by: Xiao Guangrong
Signed-off-by: Dong Hao
---
tools/perf/Makefile |1 +
tools/perf/builtin-stat.c |
From: Dong Hao
The newest branch of perf/core should have compilation error!
Error log includes:
builtin-test.c: In function ‘perf_evsel__test_field’:
builtin-test.c:1216:6: error:
variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
builtin-test.c: In function
17 matches
Mail list logo