|
|
If you want profiling output for a limited number of selected files, use the -r option:
$ lprof -r file1.c -r file2.cThis command line will produce output only for file1.c and file2.c. This is useful if you want to examine a few files rather than an entire program.