lkml.org 
[lkml]   [2015]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] perf session: Fill in the missing freeing a session after an error occur
Date
In some cases some sessions aren't freed.
For example, a session is allocated and then
if an error occur, just a error value is returned
without freeing the session. So allocating and freeing
session have to be matched as a pair even if an error occur.

Taeung Song (5):
perf inject: Fill in the missing freeing a session after an error
occur
perf kmem: Fill in the missing freeing a session after an error occur
perf kvm: Fill in the missing freeing a session after an error occur
perf mem: Fill in the missing freeing a session after an error occur
perf report: Fill in the missing freeing a session after an error
occur

tools/perf/builtin-inject.c | 7 ++++---
tools/perf/builtin-kmem.c | 4 ++--
tools/perf/builtin-kvm.c | 16 ++++++++++++----
tools/perf/builtin-mem.c | 17 ++++++++++-------
tools/perf/builtin-report.c | 6 ++++--
5 files changed, 32 insertions(+), 18 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2015-06-30 10:21    [W:0.333 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site