* Re: + bloat-o-meter-provide-3-different-arguments-for-data-function-and-all.patch added to -mm tree
[not found] <59c99971.JBsNlE1PhnN3+sL6%akpm@linux-foundation.org>
@ 2017-09-26 18:26 ` Alexey Dobriyan
0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2017-09-26 18:26 UTC (permalink / raw)
To: linux-kernel, akpm
Cc: maninder1.s, andi, a.sahrawat, mmarek, pankaj.m, v.narang
On Mon, Sep 25, 2017 at 05:04:01PM -0700, akpm@linux-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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-26 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <59c99971.JBsNlE1PhnN3+sL6%akpm@linux-foundation.org>
2017-09-26 18:26 ` + bloat-o-meter-provide-3-different-arguments-for-data-function-and-all.patch added to -mm tree Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox