profile, gprof, sanitize

This commit is contained in:
2023-03-15 18:01:03 +06:00
parent 9f04507bd8
commit ec4209831b
6 changed files with 109 additions and 56 deletions

View File

@@ -8,6 +8,7 @@ prof_files=$(find "$OBJDIR/profile/" -name '*.gcda')
if [ -z "$prof_files" ]; then
myprint "${YELLOW}no profiling info found"
else
myprint "${GREEN}profiling info found"
for prof_file in $prof_files; do
myprint "${GRAY}$(basename $prof_file)"
cp $prof_file "$OBJDIR/objects/"