Compute command line profiler is not working

Hi,
I am working on CUDA 10 and the compute command line profiler does not work.
When I am running the following:
CUDA_PROFILE=1 ./exec

there is no .log file to be created.
Am I missing something?
Thanks

Support for the command line profiler was dropped in the CUDA 8.0 release and is no longer available.

https://docs.nvidia.com/cuda/archive/8.0/profiler-users-guide/index.html