diff options
author | Changbin Du <[email protected]> | 2019-03-16 16:05:49 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-03-19 16:52:04 -0300 |
commit | cb6186aeffda4d27e56066c79e9579e7831541d3 (patch) | |
tree | ad2ebb7a5fae173dfa13f2b36cb28fbbf8e767b7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 70c819e4bf1c5f492768b399d898d458ccdad2b6 (diff) |
perf hist: Add missing map__put() in error case
We need to map__put() before returning from failure of
sample__resolve_callchain().
Detected with gcc's ASan.
Signed-off-by: Changbin Du <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Krister Johansen <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt (VMware) <[email protected]>
Fixes: 9c68ae98c6f7 ("perf callchain: Reference count maps")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions