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
Post a Comment