[PATCH v1 0/4] perf kvm: A small update in default arch event
From: Namhyung Kim
Date: Tue Jun 23 2026 - 03:04:55 EST
Hello,
Ian said there's an issue in the perf kvm record command line option parsing.
This is my attempt to address the issue and simplify the code.
Thanks,
Namhyung
Namhyung Kim (4):
perf kvm: Factor out kvm_need_default_arch_event()
perf kvm: Check kvm_need_default_arch_event() early
perf kvm: Kill STRDUP_FAIL_EXIT()
perf test: Simplify perf kvm record/report tests
tools/perf/builtin-kvm.c | 71 ++++++++-----------
tools/perf/tests/shell/kvm.sh | 8 +--
.../util/kvm-stat-arch/kvm-stat-powerpc.c | 31 ++------
tools/perf/util/kvm-stat-arch/kvm-stat-x86.c | 32 ++-------
tools/perf/util/kvm-stat.c | 27 +++++++
tools/perf/util/kvm-stat.h | 17 ++---
6 files changed, 73 insertions(+), 113 deletions(-)
--
2.54.0