Jiri Olsa
a5cfa6217c
perf stat: Add event parsing error handling to add_default_attributes
...
Add missing error handling for parse_events calls in add_default_attributes
functions. The error handler displays error details, like for transactions (-T):
Before:
$ perf stat -T
Cannot set up transaction events
After:
$ perf stat -T
Cannot set up transaction events
event syntax error: '..cycles,cpu/cycles-t/,cpu/tx-start/,cpu/el-start/,cpu/cycles-ct/}'
\___ unknown term
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20180606221513.11302-8-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-06-07 16:03:21 -03:00
..
2018-06-01 16:13:16 -03:00
2018-04-26 22:23:02 +02:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2018-03-18 17:48:59 +01:00
2018-03-06 09:57:16 -08:00
2018-02-21 15:35:42 -08:00
2018-06-04 17:14:22 -07:00
2018-03-28 22:47:06 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2018-05-25 08:02:43 +02:00
2018-05-15 08:11:19 +02:00
2018-05-19 08:10:04 +02:00
2018-06-07 16:03:21 -03:00
2018-05-04 11:24:22 +02:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2018-06-04 15:54:04 -07:00
2018-03-27 09:51:23 +02:00
2018-03-22 13:08:20 +01:00
2018-05-07 07:15:41 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2017-11-18 10:26:57 -08:00