Hi,
The environment variable VIV_PROFILE can be used to enable or disable vProfiler. By default, vProfiler is disabled in the driver. The command below will enable vProfiler. Set VIV_PROFILE equal to 0 to disable vProfiler. export VIV_PROFILE=1
To enable vProfiler Option in Kernel only need to add a sentence "galcore.gpuProfiler=1" in the attribute of bootargs in your boot configuration. For example, we can configuration bootargs like: setenv bootargs 'console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=512M androidboot.serialno=1e09a1d4d72d78a9 galcore.gpuProfiler=1'.
In general suggestion and general procedure to enable vprofiler and vanalizer could be found in the VDK documentation.
i.MX6Q|i.MX 6Quad Processors|Quad Core|NXP
Regards