Do I need Systrace support for Android?

I am trying to run systrace on the wrong device. It always gives the following error if any of the trace events is selected:

Cannot find trace start marker "TRACE:": error opening / sys / kernel / debug / tracing / events / cpufreq _interactive / enable: There is no such file or directory

If a trace event is not selected, it works, but the trace is not very useful.

Is systrace required for root access?

Note that I am running systrace directly from Eclipse (DDMS) on Windows-7.

+5
source share
1 answer

According to the systrace.py --helpfollowing routes require root access:

  • -d, --disk: I / O disk trace (root required)
  • -u, -bus-usage: ( root)
  • -w, --workqueue: ( root)

, root.

, (, --cpu-freq), , , --cpu-load, .

+3

All Articles