user2539662
user2539662

Reputation: 130

how to enable trace in android 4.3 as in android 4.2

In android 4.2, go to the Settings->Developer options->Enable trace, I can enable the traces and show them in the systrace output chart. But in android 4.3, the enable trace option is removed, so how can I enable traces?

Upvotes: 1

Views: 2672

Answers (2)

Wayne Wang
Wayne Wang

Reputation: 41

If you use latest eclipse in adt-bundle-linux-x86_64-20130729.zip, you can find the systrace options like Android 4.2 in the DDMS perspective window in eclipse.

Just like the image in this blog.

Upvotes: 1

Ye Lin Aung
Ye Lin Aung

Reputation: 11469

From the Official Doc.

Systrace events for apps

Android 4.3 adds the Trace class with two static methods, beginSection() and endSection(), which allow you to define blocks of code to include with the systrace report. By creating sections of traceable code in your app, the systrace logs provide you a much more detailed analysis of where slowdown occurs within your app.

For information about using the Systrace tool, read Analyzing Display and Performance with Systrace.

Upvotes: 1

Related Questions