Re: [PATCH perf/core 21/22] perf: Fix machine.vmlinux_maps to make sure to clear the old one

Wangnan (F)
2015-12-10T02:53:23Z

On 2015/12/9 23:22, Arnaldo Carvalho de Melo wrote:
> Em Wed, Dec 09, 2015 at 11:11:33AM +0900, Masami Hiramatsu escreveu:
>> Fix machine.vmlinux_maps to make sure to clear the old one
>> if it is renewal. This can leak the previous maps on the
>> vmlinux_maps because those are just overwritten.
>>
>> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
>> ---
>> tools/perf/util/machine.c | 5 +++++
>> 1 file changed, 5 insertions(+)

This patch solves one of my problem I met when 'perf test':

http://lkml.kernel.org/g/1449541544-67621-17-git-send-email-wangnan0@huawei.com

Thank you.