perf tools: Get rid of read_or_die() in trace-event-read.c
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 21 Mar 2013 07:18:50 +0000 (16:18 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 21 Mar 2013 16:34:13 +0000 (13:34 -0300)
commit4a31e56599d42c5ac17b280228349948dee352c7
tree0117f8df45e0a752e19e40f68d0a46980f541adb
parenta4c983670e0f4285fe115cb2ad697c978c7950b6
perf tools: Get rid of read_or_die() in trace-event-read.c

Rename it to do_read and original do_read to __do_read, and check
their return value.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1363850332-25297-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/trace-event-read.c