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

2015-12-09 Thread Wangnan (F)
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-

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

2015-12-09 Thread Arnaldo Carvalho de Melo
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 > --- > tools/perf/u

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

2015-12-08 Thread Masami Hiramatsu
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 --- tools/perf/util/machine.c |5 + 1 file changed, 5 insertions(+) diff --git a/tools/per