[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170926182604.GA14724@avx2>
Date: Tue, 26 Sep 2017 21:26:04 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Cc: maninder1.s@...sung.com, andi@...stfloor.org,
a.sahrawat@...sung.com, mmarek@...e.cz, pankaj.m@...sung.com,
v.narang@...sung.com
Subject: Re: +
bloat-o-meter-provide-3-different-arguments-for-data-function-and-all.patch
added to -mm tree
On Mon, Sep 25, 2017 at 05:04:01PM -0700, akpm@...ux-foundation.org wrote:
> +def getsizes(file, format) :
> + func_sym = {}
> + for l in os.popen("nm --size-sort " + file).readlines():
This simply undoes "for line in f" optimization I did.
> +if(sys.argv[1] == "-c"):
> +elif(sys.argv[1] == "-d"):
> +elif(sys.argv[1] == "-t"):
Python doesn't require () here.
In general output is pretty noisy already and all those "#######"
do not help.
A
Powered by blists - more mailing lists