Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753419Ab3JWUCC (ORCPT ); Wed, 23 Oct 2013 16:02:02 -0400 Received: from mail-yh0-f41.google.com ([209.85.213.41]:43980 "EHLO mail-yh0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753176Ab3JWUB7 (ORCPT ); Wed, 23 Oct 2013 16:01:59 -0400 Date: Wed, 23 Oct 2013 17:01:49 -0300 From: Arnaldo Carvalho de Melo To: Joseph Schuchart Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , thomas.ilsche@tu-dresden.de, linux-kernel@vger.kernel.org, Tom Zanussi Subject: Re: Perf Python Scripting Leaks Memory Message-ID: <20131023200149.GA6539@ghostprotocols.net> References: <5267DF35.5010706@tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5267DF35.5010706@tu-dresden.de> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 955 Lines: 25 Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu: > We are using the Python scripting interface in perf to extract kernel > events relevant for performance analysis of HPC codes. We noticed that the > "perf script" call allocates a significant amount of memory (in the order > of several 100 MiB) during it's run, e.g. 125 MiB for a 25 MiB input file: Thanks for the analysis and the bug fix! I asked Tom Zanussi and he kindly reviewed your patch and provided an Acked-by tag for it, Tom, may I add a Reviewed-by: as well? Joseph, can I have your Signed-off-by: tag, as documented in: Documentation/SubmittingPatches In the "12) Sign your work" section? Thanks! - Arnaldo -- 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/