🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3482

Re: Gprof not giving correct output as per man page option

#3482
From: Robert Bonomi
Date: Wed, 05 Apr 2006 13:39
29 lines
2134 bytes
In article <1144237223.367750.244560@g10g2000cwb.googlegroups.com>,
jeniffer <zenith.of.perfection@gmail.com> wrote:
>
>rmansfield@gmail.com wrote:
>> Sorry, what option do you claim is not working correctly?
>>
>> -b doesn't dump the verbose output so it clearly works.
>> -z displays Fnotcalled which is never called so it clearly works.
>>
>> Regards,
>>
>> Ryan Mansfield
>
>
>I thought that I'll get only uncalled function names and not uncalled
>function names with called ones :(

*WHY* would your think that?  The documentation of the -z option, which
you even _quoted- in your original post said that '-z' "causes ALL functions
to be listed, even those that are not called"


>Its a disappointment since I wanted only function names that are not
>called or only function names that are called.

obviously, the list of 'only are called' is easy to get.
And, now you know that 'called plus un-called' is easy to get.

Guess what you get if you apply 'diff' to those two lists.    <grin>
Technical Details
Message-ID: <1237i3vgdrlt061@corp.supernews.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-02!sn-xt-sjc-09!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <1144230702.550581.320150@i40g2000cwc.googlegroups.com> <1144236822.010521.167490@j33g2000cwa.googlegroups.com> <1144237223.367750.244560@g10g2000cwb.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fc89c,3622a474f750c276
X-Google-Thread: 1012a6,3622a474f750c276
X-Google-Thread: 11318c,3622a474f750c276
X-Google-Attributes: gidfc89c,gid1012a6,gid11318c,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-02!sn-xt-sjc-09!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: bonomi@host122.r-bonomi.com (Robert Bonomi)
Newsgroups: comp.unix.programmer,comp.unix.shell,gnu.gcc.help
Subject: Re: Gprof not giving correct output as per man page option
Date: Wed, 05 Apr 2006 13:39:11 -0000
Organization: Widgets, Inc.
Message-ID: <1237i3vgdrlt061@corp.supernews.com>
References: <1144230702.550581.320150@i40g2000cwc.googlegroups.com> <1144236822.010521.167490@j33g2000cwa.googlegroups.com> <1144237223.367750.244560@g10g2000cwb.googlegroups.com>
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: bonomi@host122.r-bonomi.com (Robert Bonomi)
X-Complaints-To: abuse@supernews.com
Lines: 31