]> Git Repo - linux.git/commit
perf tools: Always bail out when config_attr function fails
authorJiri Olsa <[email protected]>
Wed, 22 Apr 2015 19:10:18 +0000 (21:10 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 29 Apr 2015 13:37:59 +0000 (10:37 -0300)
commitc056ba6a174f4d5d79fe27f259fc133041a451da
tree28daffe503887d3a97c65f2fd9b543bf3617ee77
parent6297d42372b6ff02135ce170b0d90ccf0b1531e4
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/parse-events.c
This page took 0.051755 seconds and 4 git commands to generate.