google / perfetto

Performance instrumentation and tracing for Android, Linux and Chrome (read-only mirror of https://android.googlesource.com/platform/external/perfetto/)
https://www.perfetto.dev
Apache License 2.0
2.94k stars 365 forks source link

Couldn't capture workqueue/* ftrace event in perfetto-trace with userroot build. #952

Closed fx9037curry closed 2 days ago

fx9037curry commented 3 days ago

Using command below: adb shell "perfetto -o /data/misc/perfetto-traces/trace.perfetto-trace -b 512mb -t 10s sched freq idle am wm gfx view binder_driver hal input **workqueue/*** "

In eng build, I can capture all of the Ftrace Events in perfetto-trace. But in userroot build, the "workqueue/*" ftrace events are missing. Pls help me to solve this issue, thx a lot.

fx9037curry commented 2 days ago

In eng version: Image

In userroot version with same cmdline: Image