free up memory used by profile feature

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
make.1: Explain how -P works

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
remove the warnings generated by the new code

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
Revert "fixed index out of range error. if condition should be true only if it has a form of archive reference"

This reverts commit 7c691544ff4fbea927cb4dd337f1365b59d0966d.