]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Delete the event selectors at exit
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 18:51:39 +0000 (16:51 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 18:51:39 +0000 (16:51 -0200)
commitd84c109e87a0d53785c4eac7ab01f4fcdcc467b7
treec848ffcc5b1146fc35d496472349d2e4795b0ff3
parent9f1f0a90df2c8853ac54695253b12a88f526b538
perf evsel: Delete the event selectors at exit

Freeing all the possibly allocated resources, reducing complexity
on each tool exit path.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/perf.c
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h