DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
C programmer's productivity tools

Specifying program and data files to lprof

By default, lprof expects the profiled program to be called a.out, and the data file, a.out.cnt.

To run lprof on a program with a name other than a.out, specify the name after the -o option. For example:

   $ lprof -o sample
lprof will assume that the data file is called sample.cnt.

You can specify a data file other than sample.cnt by using the -c option. For example:

   $ lprof -c newdata.cnt

Next topic: Files needed by lprof
Previous topic: Showing unexecuted lines

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003