Hi Jesse,
Very interesting.
While Compiling the raw logcat using preload.jar I am unable to get
any memory usage information.
sudo java -cp out/host/linux-x86/framework/preload.jar Compile /home/
singhg/logcat.txt /home/singhg/logcat.compiled
is throwing the following errors.
Error getting stats for android.app.IInstrumentationWatcher$Stub.
java.io.IOException: Cannot run program "adb": java.io.IOException:
error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at MemoryUsage$MeasureWithTimeout.measure(MemoryUsage.java:
232)
at MemoryUsage$MeasureWithTimeout.run(MemoryUsage.java:213)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such
file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 5 more
Is there a particular environment that the preload.jar file should be
executed in or any parameters I'm missing here. I am mostly
experienced in kernel and middleware - Java novice :)
Regards