Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH 0/2] perf kvm: Don't create an empty perf.data in live mode
@ 2026-11-25 15:12 James Clark
  2026-11-25 15:12 ` [PATCH 1/2] perf kvm: Don't pass an ERR_PTR to perf_session__delete() James Clark
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Clark @ 2026-11-25 15:12 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter, Ravi Bangoria, Mukesh Ojha,
	Mamatha Inamdar, Leo Yan
  Cc: Arnaldo Carvalho de Melo, linux-perf-users, linux-kernel,
	James Clark

Running the perf tests drops an empty perf.data file in the cwd which
gets in the way sometimes, especially when the tests are run as root.

Fix an existing error path bug to appease Sashiko, then fix the empty
data file.

Assisted by Claude Opus 5.5.

Signed-off-by: James Clark <james.clark@linaro.org>
---
James Clark (2):
      perf kvm: Don't pass an ERR_PTR to perf_session__delete()
      perf kvm: Don't create an empty perf.data in live mode

 tools/perf/builtin-kvm.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
base-commit: 148690b95cc425950dbba79d73eb4f7938347fce
change-id: 20261125-james-perf-kvm-live-file-520dbff37b4f

Best regards,
--  
James Clark <james.clark@linaro.org>


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

end of thread, other threads:[~2026-11-25 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 15:12 [PATCH 0/2] perf kvm: Don't create an empty perf.data in live mode James Clark
2026-11-25 15:12 ` [PATCH 1/2] perf kvm: Don't pass an ERR_PTR to perf_session__delete() James Clark
2026-11-25 15:12 ` [PATCH 2/2] perf kvm: Don't create an empty perf.data in live mode James Clark
2026-11-25 15:18 ` [PATCH 0/2] " sashiko-bot

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