]> git.baikalelectronics.ru Git - kernel.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)
commit5de0c5cb796fa2255e94ec34e8663acef47d3ab7
tree952564a6f569dd284a3194d6d3a455fe6da2dde1
parentcead5faf8f37448a89c1fffdf5bd2cdc612ed54b
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