diff options
author | 2013-07-04 16:20:23 +0300 | |
---|---|---|
committer | 2013-07-08 17:45:41 -0300 | |
commit | b2c34fde048f3c85ef0716a8cdabbe46ac67d1e6 (patch) | |
tree | 234d694cf5d645d4c5af97b2f9c4c535817a16bd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf evsel: Fix count parameter to read call in event_format__new (diff) | |
download | linux-dev-b2c34fde048f3c85ef0716a8cdabbe46ac67d1e6.tar.xz linux-dev-b2c34fde048f3c85ef0716a8cdabbe46ac67d1e6.zip |
perf tools: Fix parse_events_terms() segfault on error path
On the error path, 'data.terms' may not have been initialised.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1372944040-32690-5-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions