AnsweredAssumed Answered

Systrace not working on L5.0.0_1.0.0-ga

Question asked by Michael Guntli on Nov 26, 2015
Latest reply on Apr 17, 2016 by Gurtaj Singh

When I try to run systrace on my Sabre-SDB, I get the following error:

Unexpected error while collecting system trace.

Unable to find trace start marker 'TRACE:': error opening /sys/kernel/debug/tracing/options/overwrite: Permission denied (13) error opening /sys

 

Systrace on Android Developers:

Systrace Walkthrough | Android Developers

 

If I start a shell, I can confirm that the following folder is missing: /sys/kernel/debug/tracing

 

root@imt_imx6:/ # cd /sys/kernel/debug/tracing

/system/bin/sh: cd: /sys/kernel/debug/tracing: No such file or directory

 

Question:

What is required to enable Systrace on the i.MX6?

 

According to this issue it is related to a permission issue?

Issue 159809 -  android -  Systrace tools should provide a better error message -  Android Open Source Project - Issue T…

 

I have also found the following discussion, which recommends to build a BSP with systrace support:

https://stackoverflow.com/questions/21747616/make-systrace-work-with-4-1-2-device-on-mac/22676745#22676745

Outcomes