diff options
author | Namhyung Kim | 2015-12-14 04:11:13 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2015-12-14 16:15:07 +0100 |
commit | 71d6de64feddd4b455555326fba2111b3006d9e0 (patch) | |
tree | 69b2204f16281a0aab39381c7b4efe4118dc28df /REPORTING-BUGS | |
parent | perf evsel: Disable branch flags/cycles for --callgraph lbr (diff) | |
download | kernel-qcow2-linux-71d6de64feddd4b455555326fba2111b3006d9e0.tar.gz kernel-qcow2-linux-71d6de64feddd4b455555326fba2111b3006d9e0.tar.xz kernel-qcow2-linux-71d6de64feddd4b455555326fba2111b3006d9e0.zip |
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 <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1450062673-22312-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions