summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-10-31 20:01:23 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-11-07 17:31:37 -0300
commit4c673fe9d9c3c1fd8f3c0b37f06c816e60f4bb43 (patch)
tree90323d315784fb99b7f2920a92f653c22c423cbc /tools/perf/scripts/python
parenta5399c1457abce20a7e7feeb0ca1f11296d8ab33 (diff)
perf kvm: Fix arm64 VM-exit duration accounting
Use kvm_exit as the start event and the following kvm_entry as the end event for arm64 VM-exit statistics. Keep decoding ret and esr_ec from the exit sample. Before this change, arm64 measured guest runtime as VM-exit time. Fixes: 1218838d68f5e9cc ("perf kvm: Add kvm-stat for arm64") Reviewed-by: Leo Yan <leo.yan@arm.com> Signed-off-by: Li RongQing <lirongqing@baidu.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linux.dev> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions