perf tools: Release session and symbol resources on exit
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Jul 2010 21:31:28 +0000 (18:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Jul 2010 21:31:28 +0000 (18:31 -0300)
commitd65a458b348cd458413b3cfec66e43ebd0367646
tree984d730e5a81e4ae7c04b9f664d8a1cacdd0c6e6
parent591765fdaf7ea1888157f342b67b0461f2e5ed9b
perf tools: Release session and symbol resources on exit

So that we reduce the noise when looking for leaks using tools such as
valgrind.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/event.c
tools/perf/util/map.c
tools/perf/util/map.h
tools/perf/util/session.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h