respect the lock file, also cpu profile