tools lib traceevent: Add state member to struct trace_seq
authorNamhyung Kim <namhyung@kernel.org>
Thu, 19 Dec 2013 09:17:44 +0000 (18:17 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 15 Jan 2014 18:10:19 +0000 (15:10 -0300)
commit3c6d8d84423932f1d9949179c6acdf2405515ee4
tree3a4d71442a447666dc3993049abb60f03323b757
parent7d16c634233c411f54b89d0f1d51750dc85c5f7e
tools lib traceevent: Add state member to struct trace_seq

The trace_seq->state is for tracking errors during the use of trace_seq
APIs and getting rid of die() in it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/87fvopalbb.fsf@sejong.aot.lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/Makefile
tools/lib/traceevent/event-parse.h
tools/lib/traceevent/trace-seq.c