I'm using SM_PALIMA chipset, I've followed the steps menitoned in the SDK document regarding sysmon profiling:
Qualcomm/Hexagon_SDK/5.2.0.0/docs/tools/sysmon_app.html
But I'm not able to do profiling on ADSP whereas with CDSP it works fine.
PS C:\ > adb shell /data/local/tmp/sysMonApp profiler --debugLevel 1 --q6 adspStarting Profiler with parameters:Q6 Processor: adspSampling Interval in ms : 0.00Total samples :0samplesInSet: 50Default Mode : 1dcvs enable : 1no. of stids: 0Domain Configured ADSPUnable to query for Q6 architecture, Exiting...PS C:\ > adb shell /data/local/tmp/sysMonApp profiler --debugLevel 1 --q6 cdspStarting Profiler with parameters:Q6 Processor: cdspSampling Interval in ms : 0.00Total samples :0samplesInSet: 50Default Mode : 1dcvs enable : 1no. of stids: 0Domain Configured Compute DSPRunning FastRPC Timeline Profiling in parallel...Q6 architecture detected as v68...opening outputfile @/sdcard/sysmon_cdsp.binEnabling DSP SysMon using FastRPC ....
C:\Qualcomm\Hexagon_SDK\5.2.0.0\tools\utils\sysmon> adb shell ps | grep adsprpcdsystem 1800 1 13034180 5284 do_sys_poll 0 S adsprpcdmedia 1806 1 12931008 5132 do_sys_poll 0 S audioadsprpcd