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>