Date: Fri, 7 Apr 2000 13:10:03 -0700 (PDT) From: David Malone <dwmalone@maths.tcd.ie> To: freebsd-bugs@FreeBSD.org Subject: Re: gnu/17812: gprof gives error Message-ID: <200004072010.NAA90300@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/17812; it has been noted by GNATS. From: David Malone <dwmalone@maths.tcd.ie> To: freebsd-gnats-submit@FreeBSD.org, christor@ug.cs.sunysb.edu Cc: Subject: Re: gnu/17812: gprof gives error Date: Fri, 07 Apr 2000 21:01:27 +0100 Gprof seems to work OK for me on 3.4-STABLE. I'd guess you have a gmon.out file which is corrupt or for a different type of system. For me it produced a file called hello.gmon, so I had to give this on the command line. David. 182% cat hello.c #include <stdio.h> int main(void){ printf("hello world!\n"); } 183% gcc -pg -o hello hello.c 184% ls -l total 55 -rwxr-xr-x 1 dwmalone wheel 54638 Apr 7 20:55 hello -rw-r--r-- 1 dwmalone wheel 76 Apr 7 20:53 hello.c 185% ./hello hello world! 186% ls -l total 74 -rwxr-xr-x 1 dwmalone wheel 54638 Apr 7 20:55 hello -rw-r--r-- 1 dwmalone wheel 76 Apr 7 20:53 hello.c -rw-r--r-- 1 dwmalone wheel 18482 Apr 7 20:55 hello.gmon 187% gprof hello hello.gmon <gmon output follows> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004072010.NAA90300>