This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSS profiling on CortexA8 - TMS320DM814x

I am trying to run DSS scripts to collect profiling data from CoretxA8 core:

    - Calling ProfileClock::printActivityList returns empty list of activities. Can't use this method to get profiling.

    - Calling ProfileClock::runBenchmark() OR ProfileClock::read() gives the following exception:

org.mozilla.javascript.WrappedException: Wrapped java.lang.ArrayIndexOutOfBoundsException: -1 (Trial1.js#182)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)

How can I profile code on CortexA8 using DSS scripts?