diff options
author | Jiri Olsa <[email protected]> | 2016-10-10 09:56:32 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-13 11:12:29 -0300 |
commit | f957a5308dbbdf67aa4f8ac3233a61e802bd2373 (patch) | |
tree | aa663a34f7247226985829f67ac71152f29a5be8 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | c611152373e84a7677cd7d496e849de4debdab66 (diff) |
perf header: Set nr_numa_nodes only when we parsed all the data
Sukadev reported segfault on releasing perf env's numa data. It's due
to nr_numa_nodes being set no matter if the numa data gets parsed
properly. The perf_env__exit crash the on releasing non existed data.
Setting nr_numa_nodes only when data are parsed out properly.
Signed-off-by: Jiri Olsa <[email protected]>
Reported-by: Sukadev Bhattiprolu <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions