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?