Control profiling using environment variables

You can control the behavior of a profiling session by using environment variables. If you are using the IDE, you can specify environment variables using the Environment tab in your launch configuration.

For sampling only, no modification is required.

For sampling and call count, the application must be instrumented with call count, and the environment variable QCONN_PROFILER must be set to /dev/profiler. For example:
QCONN_PROFILER=/dev/profiler ./appname
For a call count instrumented binary, the following environment variables affect application behavior at runtime:
For a function instrumented binary, the following environment variables affect application behavior: