How to start code coverage using command line options?


I have an executable built with code coverage enabled in it. If I launch this executable from the QNX IDE’s code coverage perspective, then I can see that code coverage data is being collected in my target (i.e. there are few *.da files that get created).

However, if I run the executable using command line, then I dont see any *.da files being created. This should mean that the code coverage data is not being collected (correct me if I am wrong).

What are the command line options that I must provide to start code coverage?