]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf top: Stop using exit()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jan 2013 16:25:53 +0000 (13:25 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 Jan 2013 16:07:42 +0000 (13:07 -0300)
commit11859e821761e9738c4d8a0e7d6ca1cc2e0d37e8
tree952564a6f569dd284a3194d6d3a455fe6da2dde1
parent152fefa921535665f95840c08062844ab2f5593e
perf top: Stop using exit()

Just return to the perf main() routine so that an unified exit path can
be followed and resources released, helping in finding memory leaks.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-ro8oeodo96490nrhcph57atr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c