perf lock: Remove use of die and handle errors
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 Aug 2012 18:24:43 +0000 (12:24 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Sep 2012 20:19:38 +0000 (17:19 -0300)
commit33d6aef5136075930f7e9a05175bf4f772d8428e
tree6a8181c91f37f66ad198a2e7ed411bb8c741e357
parent1e6d53223884225f0c3f9f1a3ac54a224d97ab24
perf lock: Remove use of die and handle errors

Allows perf to clean up properly on exit.

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-4-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-lock.c