summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-10-10 09:56:32 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-10-13 11:12:29 -0300
commitf957a5308dbbdf67aa4f8ac3233a61e802bd2373 (patch)
treeaa663a34f7247226985829f67ac71152f29a5be8 /Documentation
parentc611152373e84a7677cd7d496e849de4debdab66 (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 <jolsa@kernel.org> Reported-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-dt9c0zgkt4hybn2cr4xiawta@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions