perf tools: Get rid of write_or_die() from trace-event-info.c
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 21 Mar 2013 07:18:46 +0000 (16:18 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 21 Mar 2013 16:15:42 +0000 (13:15 -0300)
commit8755d5e202c3ef62e33d75426c2f0005e3f70ca9
treeb8ddc1a13229bd4fc47fa48476c5ed910f307e86
parent5a6fd27ad73fef0ed39a00236acbc3a17834672a
perf tools: Get rid of write_or_die() from trace-event-info.c

Check return value of write and fail if error.

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-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/trace-event-info.c
tools/perf/util/trace-event.h