perf evsel: Move exit stuff from __delete to __exit
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Oct 2014 16:25:01 +0000 (13:25 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 17 Oct 2014 14:14:15 +0000 (11:14 -0300)
commit597e48c138632d1f55409dcfa5bee4e1152e7d4f
tree847a5e9a7306b31e474958401914cd4e5d46cc60
parent691286b5561aab2e1b00119bc328598c01250548
perf evsel: Move exit stuff from __delete to __exit

So that when an evsel is embedded into other struct it can free up
resources calling perf_evsel__exit().

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-n1w68pfe9m2vkhm4sqs8y1en@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c