Error running Visual profiler

I am trying to run a specific application Application builder using the NVIDIA Visual profiler in Ubunutu with command line arguments “–stack-size 2048 --config example.config” but am getting an error-

======== Error: Encountered invalid option : --profile-api-trace
======== Use nvprof “–help” to get more information.

I am checking only two conditions - start profiling with start of execution and run guided analysis. Any help would be appreciated.