Re: visibility memory useage in elf binaries

2007-05-22 Thread Chris Bayley
Thanks guys, this is exactly the kind of feed back I was looking for and confirms the the approach I have taken in coding up a small python script based the output of nm -S. Cheers all, Chris

2nd Tip'o'the day was Re: visibility memory useage in elf binaries

2007-05-21 Thread John Carter
On Mon, 21 May 2007, Chris Bayley wrote: even cooler would be then to present the information in a pie chart fromat like 'filelight' or konqueror's 'radial view' does with the ability to drill down and look in more detail at a given area. Hmm. Nice Tip'o'the'day in that. filelight now officia

Re: visibility memory useage in elf binaries

2007-05-21 Thread John Carter
On Tue, 22 May 2007, Ross Drummond wrote: Sorry, this discussion is going completely over my head. Can somebody supply a plain language description of the problem? So you have written a program with gcc. And it has grown fat and overweight, using too much ram, using too much disk space. Wher

Re: visibility memory useage in elf binaries

2007-05-21 Thread Ross Drummond
On Tue, 22 May 2007 09:34, Matthew Gregan wrote: > At 2007-05-21T20:52:42+1200, Chris Bayley wrote: > > Not sure if there's anything already out there, I tend to write ad-hoc > scripts for this sort of thing. > > > even cooler would be then to present the information in a pie chart > > fromat like

Re: visibility memory useage in elf binaries

2007-05-21 Thread Matthew Gregan
At 2007-05-21T20:52:42+1200, Chris Bayley wrote: > What I want to do is something like this: > first extract all the symbols and size information using nm -S, > then graph the information with an expression in section terms ie > (.text|.rodata) vs. an expression in symbol terms ie. symbols

Re: visibility memory useage in elf binaries

2007-05-21 Thread John Carter
Hmm. Mostly I use "objdump --syms" and chew on the output with a ruby script. Here is the script, it's way too specific to our project to be reusable, and it chews on the output of gcc 2.95 sparc tools. But you could tweak it (lots) Some hints... We had a particular interest in certain sym

Re: visibility memory useage in elf binaries

2007-05-21 Thread Carl Cerecke
man strip On 21/05/07, Chris Bayley <[EMAIL PROTECTED]> wrote: Hi team, I am looking for a utility that will give me a really powerful look into the memory usage of my elf binaries What I want to do is something like this: first extract all the symbols and size information using nm -S, t

visibility memory useage in elf binaries

2007-05-21 Thread Chris Bayley
Hi team, I am looking for a utility that will give me a really powerful look into the memory usage of my elf binaries What I want to do is something like this: first extract all the symbols and size information using nm -S, then graph the information with an expression in section terms ie (