perf tools: Change parse_events_add_pmu interface
authorJiri Olsa <jolsa@kernel.org>
Wed, 22 Apr 2015 19:10:19 +0000 (21:10 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Apr 2015 13:38:00 +0000 (10:38 -0300)
commit36adec85a86f2daa521cda48ea7be8a95c20ed10
tree951b6d123db8e0faed5d7153952af900819097aa
parentc056ba6a174f4d5d79fe27f259fc133041a451da
perf tools: Change parse_events_add_pmu interface

Changing parse_events_add_pmu interface to allow propagating of the
parse_events_error info.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1429729824-13932-5-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