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>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
5a6fd27ad7
commit
8755d5e202
@@ -68,7 +68,7 @@ struct tracing_data {
|
||||
|
||||
struct tracing_data *tracing_data_get(struct list_head *pattrs,
|
||||
int fd, bool temp);
|
||||
void tracing_data_put(struct tracing_data *tdata);
|
||||
int tracing_data_put(struct tracing_data *tdata);
|
||||
|
||||
|
||||
struct addr_location;
|
||||
|
||||
Reference in New Issue
Block a user