lkml.org 
[lkml]   [2017]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + 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

\
 
 \ /
  Last update: 2017-09-26 20:29    [W:0.054 / U:2.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site