From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e90921082712f928,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,e90921082712f928,start X-Google-Attributes: gidf678f,public From: bfield@advtech.uswest.com (Brian Field) Subject: Profiling code Date: 1996/02/18 Message-ID: <4g7n4l$87b@cherokee.advtech.uswest.com>#1/1 X-Deja-AN: 139908600 organization: U S WEST Advanced Technologies newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc I've got some code that I'm attempting to profile. I'd like to get information on which lines/basic blocks are contributing most towards run-time. To get this information, I've been following the instructions listed in the prof (1) man page: cc -c myprog.c cc -o myprog myprog.o pixie -o myprog.pixie myprog (generates myprog.Addrs) myprog.pixie (generates myprog.Counts) prof -pixie myprog myprog.Addrs myprog.Counts This works fine if I want to look at the profiling results at the procedure level, but when I specify the -heavy or -lines option, I don't get a break down by basic block / line. I'm compiling without the -p option (as specified by prof (1) ). So, what am I doing wrong? This is on a 3.2C DU 2100/500 box. We don't have man pages loaded for 3.2C, so I've been using the man pages from a 2.1 OSF box... :-/ Thanks Brian