perf tools: Propagate error info for the tracepoint parsing
authorJiri Olsa <jolsa@kernel.org>
Mon, 7 Sep 2015 08:38:05 +0000 (10:38 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 12:48:32 +0000 (09:48 -0300)
commite2f9f8ea6a54e252e3a94a5c2321f673b5b97360
treee90630b0ba7e97154c0da82ea52e97492380bd34
parent01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7
perf tools: Propagate error info for the tracepoint parsing

Pass 'struct parse_events_error *error' to the parse-event.c tracepoint
adding path. It will be filled with error data in following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Reviewed-by: Raphael Beamonte <raphael.beamonte@gmail.com>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1441615087-13886-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/parse-events.y