home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9392 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!eff!news.oc.com!spssig.spss.com!bobhays
  3. From: bobhays@spss.com (Bob Hays)
  4. Subject: Simple (I hope) profiling questions on AIX
  5. Message-ID: <1992Sep4.150523.1660@spss.com>
  6. Keywords: tprof gprof prof pg
  7. Sender: news@spss.com (Net News Admin)
  8. Organization: SPSS, Inc.
  9. Date: Fri, 4 Sep 1992 15:05:23 GMT
  10. Lines: 23
  11.  
  12. I'm trying to profile a program that forks.  It is large.  I want to
  13. profile only one part of it.
  14.  
  15. I've tried tprof and get access denied messages and device nonexistant
  16. messages (the first at startup, the latter at exit) - any ideas what I
  17. might do (email if you want the exact messages)?
  18.  
  19. Second, I've tried using the -pg option on compiling a portion of my
  20. code (one library).  I link using -pg.  I run the program and do not
  21. get a gmon.out file (due to the fork, should I expect a file anyway,
  22. but one that does not include all the information before the fork, or
  23. what?)?  I've been reading IBM's "documentation" (specifically
  24. _Performance Monitoring and Tuning Guide_) and cannot figure out what
  25. to try next.  Any ideas would be helpful - my email address (as per my
  26. signature) is bobhays@spss.com.
  27.  
  28. Have fun! - Bob
  29.  
  30. -- 
  31. ===============================================================================
  32. The opinions expressed above are those of Bob Hays and not SPSS, Inc.
  33.  bobhays@spss.com  Phone: (312) 329-3529 | "I'm hovering like a fly, waiting
  34.                    Fax:   (312) 329-3657 |  for a windshield on a freeway" -PG
  35.