问题
I am trying to use systrace from Android Studio with the default systrace options set. I have not rooted the phone. HTC Sense v6.0, Android 5.0.1, HTC SDK API level 6.55. When I do so, I get the dreaded "Unable to collect system trace. Reason: unexpected error while collecting system trace". Using adb shell, I have determined that /sys/kernel/debug exists, but /sys/kernel/debug/tracing does not. Anyone else have better luck with systrace and HTC One M8 / lollipop?
来源:https://stackoverflow.com/questions/32185412/unable-to-systrace-on-htc-one-m8-lollipop