Android Version:10(Q)
The error systrace:
The normal systrace enter image description here
I have check the ftrace config in the code,the CONFIG_TRACING=y is already on my config
I can see ATRACE_CALL() on function SurfaceFlinger::onMessageReceived, but it's not shown on the systrace And this is my command to capture the systrace: python .\systrace.py gfx input view webview wm am sm audio video camera hal res dalvik rs bionic power pm ss database adb aidl sched irq i2c freq idle disk sync workq memreclaim regulators binder_driver binder_lock pagecache -o test7.html
I have tried to open these config,but it's not take effect
CONFIG_TRACER_MAX_TRACE=y
CONFIG_GENERIC_TRACER=y
CONFIG_FUNCATION_TRACER=y
CONFIG_PREEMPTIRQ_EVENTS=y
CONFIG_IRQSOFT_TRACER=y
CONFIG_TRACER_SNAPSHOT=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_FTRACE_MCOUNT_RECORD=y
systrace.pyhas been deprecated. Please consider Android Studio CPU Profiler's "System Trace" option or Perfetto. They have similar functionalities assystrace.py. Perfetto provides more data and it comes with a non-trivial learning curve.