• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating gprof .order Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating gprof .order Files


  • Subject: Re: Creating gprof .order Files
  • From: Godfrey DiGiorgi <email@hidden>
  • Date: Tue, 2 Mar 2004 09:37:56 -0800

Mark,

I'm not a gprof expert but one of my more savvy colleagues commented:

When I compile a simple program on the command line and run 'gprof -S <exec>' I only see that message when I don't compile the executable with symbols. Even though I see the message I still get the four .order files, but obviously not with the resolved names.

When I used gprof with a simple Cocoa app I got this message as well, but still generated information for my application's code. So my guess is it's probably because he is using shlibs or libraries he doesn't have symbols for. Ask him if the .order files are empty and if 'gprof -S' doesn't report statistics for his code.

best, Godfrey --- Godfrey DiGiorgi - email@hidden 408 974-6814 tel - 408 974-8101 fax - 408 832-8319 cell Technology Manager, Development Tools Apple Worldwide Developer Relations


On Feb 19, 2004, at 11:58 AM, Mark Szymczyk wrote:

I'm trying to run gprof with the -S option to create the four .order files, but I get the following error message when I run gprof:

In producing order files can't find module name for functions (make sure all modules are compiled -g and the program is not already ordered)

I recompiled my program with the -g flag, but the same error message appears. What do I have to do to generate the .order files?

Mark
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Apostrophes in #warning
  • Next by Date: Re: Apostrophes in #warning
  • Previous by thread: Re: Apostrophes in #warning
  • Next by thread: Xcode build failed on new G5
  • Index(es):
    • Date
    • Thread