Re: [PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-17 Thread Andi Kleen
> Patched the calls to nm and objdump - but it gave no output > when I ran the script. You have to compile with debug info on. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-17 Thread Sam Ravnborg
On Sat, May 17, 2014 at 10:31:44AM +0200, Sam Ravnborg wrote: > Hi Andi. > > On Fri, May 16, 2014 at 02:43:15PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Add a tool to hunt for inline bloat. It uses objdump -S to account > > inlines. > I tried this on my sparc32 build - but it

Re: [PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-17 Thread Sam Ravnborg
Hi Andi. On Fri, May 16, 2014 at 02:43:15PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a tool to hunt for inline bloat. It uses objdump -S to account > inlines. I tried this on my sparc32 build - but it failed with: objdump: can't disassemble for architecture UNKNOWN! It looks simple

Re: [PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-17 Thread Sam Ravnborg
Hi Andi. On Fri, May 16, 2014 at 02:43:15PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com Add a tool to hunt for inline bloat. It uses objdump -S to account inlines. I tried this on my sparc32 build - but it failed with: objdump: can't disassemble for architecture UNKNOWN!

Re: [PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-17 Thread Sam Ravnborg
On Sat, May 17, 2014 at 10:31:44AM +0200, Sam Ravnborg wrote: Hi Andi. On Fri, May 16, 2014 at 02:43:15PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com Add a tool to hunt for inline bloat. It uses objdump -S to account inlines. I tried this on my sparc32 build - but

Re: [PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-17 Thread Andi Kleen
Patched the calls to nm and objdump - but it gave no output when I ran the script. You have to compile with debug info on. -Andi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-16 Thread Andi Kleen
From: Andi Kleen Add a tool to hunt for inline bloat. It uses objdump -S to account inlines. Example output: Total code bytes seen 10463206 Code bytes by functions: Function Total Avg Num kmalloc

[PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-16 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Add a tool to hunt for inline bloat. It uses objdump -S to account inlines. Example output: Total code bytes seen 10463206 Code bytes by functions: Function Total Avg Num kmalloc