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