From: utzoo!decvax!cca!chris.umcp-cs@Udel-Relay@sri-unix
Newsgroups: net.unix-wizards
Title: More on profiling
Article-I.D.: sri-unix.3315
Posted: Fri Sep 17 00:58:04 1982
Received: Fri Sep 17 06:28:58 1982

From:     Chris Torek 
Date:     13 Sep 82 17:06:45-EDT (Mon)
There is a bug in the code in /usr/src/cmd/prof/prof.c:

	#ifdef plot
		if (vflg)
			plotprof();	/* a plotted or ... */
		else
	#else
			printprof();	/* a printed profile */
	#endif

should read

	#ifdef plot
		if (vflg)
			plotprof();	/* a plotted or ... */
		else
	#endif
			printprof();	/* a printed profile */

With the existing code, if you define plot, you can ONLY get plotted
profiles.
				- Frustrated Profiler
P.S. This is 4.1bsd.