aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2016-10-10 09:56:32 +0200
committerArnaldo Carvalho de Melo <[email protected]>2016-10-13 11:12:29 -0300
commitf957a5308dbbdf67aa4f8ac3233a61e802bd2373 (patch)
treeaa663a34f7247226985829f67ac71152f29a5be8 /scripts/gdb/linux/lists.py
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 <[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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions