[net.unix-wizards] More on profiling

chris.umcp-cs@Udel-Relay@sri-unix (09/17/82)

From:     Chris Torek <chris.umcp-cs@Udel-Relay>
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.