public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Cc: maninder1.s@samsung.com, andi@firstfloor.org,
	a.sahrawat@samsung.com, mmarek@suse.cz, pankaj.m@samsung.com,
	v.narang@samsung.com
Subject: Re: + bloat-o-meter-provide-3-different-arguments-for-data-function-and-all.patch added to -mm tree
Date: Tue, 26 Sep 2017 21:26:04 +0300	[thread overview]
Message-ID: <20170926182604.GA14724@avx2> (raw)
In-Reply-To: <59c99971.JBsNlE1PhnN3+sL6%akpm@linux-foundation.org>

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

           reply	other threads:[~2017-09-26 18:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <59c99971.JBsNlE1PhnN3+sL6%akpm@linux-foundation.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170926182604.GA14724@avx2 \
    --to=adobriyan@gmail.com \
    --cc=a.sahrawat@samsung.com \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maninder1.s@samsung.com \
    --cc=mmarek@suse.cz \
    --cc=pankaj.m@samsung.com \
    --cc=v.narang@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox