Systrace on Android 4.3 -


i'm trying measure performance attributes of app through systrace using new trace api introduced in jb 4.3. idea similar use of traceview method profiling, i.e. can measure specific code section using trace.beginsection , trace.endsection.

however, when run systrace through python script provided in android tools, don't see relating sections specified above calls.

am missing something? correct way of accessing systrace output? see in documentation trace calls "writes trace events system trace buffer", have no idea how access trace buffer.

any appreciated.

you have provide additional argument systrace command: -app=pkgname (or -a pkgname) where, pkgname package name app manifest. it's name see in ps output (which possibly more relevant, since that's it's matching against).

there example here.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -