perf bench sched-messaging: Drop barf()
authorDavidlohr Bueso <davidlohr@hp.com>
Mon, 16 Jun 2014 18:14:26 +0000 (11:14 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Jun 2014 19:13:17 +0000 (16:13 -0300)
commitecdac96899e3db3f428e4d2e978f25e3f8d35a6c
tree1154dd97c0940e56a37917f8dc977e24b3e1902a
parent424e9634887842ac59c1d06d3264aaeb18853c0b
perf bench sched-messaging: Drop barf()

Instead of reinventing the wheel, we can use err(2) when dealing with
fatal errors. Exit code is now always EXIT_FAILURE (1).

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1402942467-10671-9-git-send-email-davidlohr@hp.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/sched-messaging.c