]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf record: Remove use of die/exit
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 Aug 2012 18:24:47 +0000 (12:24 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Sep 2012 20:22:41 +0000 (17:22 -0300)
commit8d3eca20b9f31cf10088e283d704f6a71b9a4ee2
tree1abbd8e03235422ef915b18e172459b901551352
parentd54b1a9e0eaca92cde678d19bd82b9594ed00450
perf record: Remove use of die/exit

Allows perf to clean up properly on exit. If perf-record is exiting due
to failure, the on_exit should not run as the session has been deleted.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1346005487-62961-8-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c