perf: Add DIE_IF() macro for error checking
authorMasami Hiramatsu <mhiramat@redhat.com>
Sat, 17 Oct 2009 00:08:18 +0000 (20:08 -0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 17 Oct 2009 07:54:01 +0000 (09:54 +0200)
commit9769833b8e4425dc93fc837bf124c6cb02a51abb
tree3e5d2a12e8df8528e50f35c4f122d56b4f59b2cd
parent89c69c0eee7515cdc217f4278de43547284b3458
perf: Add DIE_IF() macro for error checking

Add DIE_IF() macro and replace ERR_IF() with it, and use
linux/stringify.h.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091017000818.16556.82452.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/util/probe-finder.c
tools/perf/util/probe-finder.h
tools/perf/util/util.h