Skip to content

Fix perf-tool crashes when kvm guest is running

Joerg Roedel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Introduced counter for unprocessable samples
* Added ui warnings when unprocessable samples are found

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf-tool: Don't process samples with no valid machine objecttools/perf/builtin-top.c tools/perf/util/hist.h tools/perf/util/session.c+17 -01 reply
2/2perf-tool: Change perf_guest default back to falsetools/perf/util/util.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/2 v2] Fix perf-tool crashes when kvm guest is running

Hi,

here are the fixes I promised. These patches should fix the crashes David and Jason have seen by making sure no sample is processed when ther is no valid machine object for it. The second patch also changes the perf_guest default back to false.

v1->v2:

* Introduced counter for unprocessable samples
* Added ui warnings when unprocessable samples are found

Regards,

Joerg