diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-04-22 21:10:18 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-04-29 10:37:59 -0300 |
commit | c056ba6a174f4d5d79fe27f259fc133041a451da (patch) | |
tree | 28daffe503887d3a97c65f2fd9b543bf3617ee77 /tools/perf/util/parse-events.h | |
parent | 6297d42372b6ff02135ce170b0d90ccf0b1531e4 (diff) |
perf tools: Always bail out when config_attr function fails
Not sure why we allowed the fail state, but it's wrong. Wrong type for
'name' term can cause segfault, and there's probably more fun hidden.
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-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.h')
0 files changed, 0 insertions, 0 deletions