diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh index 26041c4d6a..06bc0b7ad0 100755 --- a/docker_entrypoint.sh +++ b/docker_entrypoint.sh @@ -19,7 +19,8 @@ else fi if [ -n "${ENABLE_HEAPTRACK:-}" ]; then - set -- heaptrack "$@" + file_path="./profiler_data/profile_$(date '+%Y%m%d_%H%M%S')" + set -- heaptrack -o "${file_path}" "$@" fi exec "$@"