Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752061AbbLJCxX (ORCPT ); Wed, 9 Dec 2015 21:53:23 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:62785 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbbLJCxV (ORCPT ); Wed, 9 Dec 2015 21:53:21 -0500 Message-ID: <5668E8FD.7040307@huawei.com> Date: Thu, 10 Dec 2015 10:52:45 +0800 From: "Wangnan (F)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo , Masami Hiramatsu CC: Peter Zijlstra , Adrian Hunter , , , Ingo Molnar , "Namhyung Kim" , Jiri Olsa Subject: Re: [PATCH perf/core 21/22] perf: Fix machine.vmlinux_maps to make sure to clear the old one References: <20151209021047.10245.8918.stgit@localhost.localdomain> <20151209021133.10245.93730.stgit@localhost.localdomain> <20151209152256.GL15864@kernel.org> In-Reply-To: <20151209152256.GL15864@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5668E90D.00C5,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: afb719809f468bf8271e87326e67d6f7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 24 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 >> --- >> 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/