Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v1 0/4] perf kvm: A small update in default arch event
@ 2026-06-23  7:03 Namhyung Kim
  2026-06-23  7:03 ` [PATCH 1/4] perf kvm: Factor out kvm_need_default_arch_event() Namhyung Kim
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Namhyung Kim @ 2026-06-23  7:03 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Ian Rogers, James Clark
  Cc: Jiri Olsa, Adrian Hunter, Peter Zijlstra, Ingo Molnar, LKML,
	linux-perf-users

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-23  7:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23  7:03 [PATCH v1 0/4] perf kvm: A small update in default arch event Namhyung Kim
2026-06-23  7:03 ` [PATCH 1/4] perf kvm: Factor out kvm_need_default_arch_event() Namhyung Kim
2026-06-23  7:16   ` sashiko-bot
2026-06-23  7:03 ` [PATCH 2/4] perf kvm: Check kvm_need_default_arch_event() early Namhyung Kim
2026-06-23  7:16   ` sashiko-bot
2026-06-23  7:03 ` [PATCH 3/4] perf kvm: Kill STRDUP_FAIL_EXIT() Namhyung Kim
2026-06-23  7:12   ` sashiko-bot
2026-06-23  7:03 ` [PATCH 4/4] perf test: Simplify perf kvm record/report tests Namhyung Kim
2026-06-23  7:09   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox