perf kvm: Fix memory leak
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf kvm: Support refcnt in structure kvm_infotools/ tools/ tools/ | +43 | 3 replies | |
| 2/2 | perf kvm: Delete histograms entries before exitingtools/ | +3 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ian Rogers |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] perf kvm: Fix memory leak
This patch seris is to address memory leak issues in perf kvm.
The first patch introduces refcnt in structure kvm_info, so we can avoid memory leak for it.
The second patch explicitly delete histograms entries before program exiting rather than relying on kernel releasing memory space.
Leo Yan (2):
perf kvm: Support refcnt in structure kvm_info perf kvm: Delete histograms entries before exiting
tools/perf/builtin-kvm.c | 6 ++++-- tools/perf/util/hist.c | 5 +++++ tools/perf/util/kvm-stat.h | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.2