aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2015-12-14 12:11:13 +0900
committerArnaldo Carvalho de Melo <[email protected]>2015-12-14 12:15:07 -0300
commit71d6de64feddd4b455555326fba2111b3006d9e0 (patch)
tree69b2204f16281a0aab39381c7b4efe4118dc28df /scripts/gdb/vmlinux-gdb.py
parentbd0f889536f80630c1c4a414f2de90744d2c87d0 (diff)
perf test: Fix hist testcases when kptr_restrict is on
Currently if kptr_restrict is enabled, all hist tests failed with segfaults. This is because machine__create_kernel_maps() in setup_fake_machine() failed in that situation, and it called machine__delete() on the error path. But outer callers again called machines__exit() causing double free for the host machine. Signed-off-by: Namhyung Kim <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions