Messages in this thread | | | Date | Tue, 26 Sep 2017 21:26:04 +0300 | From | Alexey Dobriyan <> | 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@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
| |