Re: [PATCH perf/core 06/13] perf: Fix machine__destroy_kernel_maps to put vmlinux_maps

2015-11-18 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 18, 2015 at 03:40:22PM +0900, Masami Hiramatsu escreveu: > Fix machine__destroy_kernel_maps() to put vmlinux_maps before > filling it with NULL. Applied to perf/urgent. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

[PATCH perf/core 06/13] perf: Fix machine__destroy_kernel_maps to put vmlinux_maps

2015-11-17 Thread Masami Hiramatsu
Fix machine__destroy_kernel_maps() to put vmlinux_maps before filling it with NULL. Refcnt debugger shows [1] Unreclaimed map: 0x36b1070 Refcount +1 => 1 at ./perf(map__new2+0xb5) [0x4bdec5] ./perf(machine__create_kernel_maps+0x72) [0x4bb152] ./perf(machine__new_host+0x