Will perfetto provide log interface for Native and Kernel Layer? #2038
-
Currently, ProtoLog.java provides perfetto log interface (such as, d(), v(), i(), w(), e()). is there any plan to provide the same perfetto log interface for Native and Kernel Layer? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
a) there are no plans to bring Protolog to other places. |
Beta Was this translation helpful? Give feedback.
-
uopdate on following question: What I checked is for recording log, not for trace. then, what about your suggestion? |
Beta Was this translation helpful? Give feedback.
a) there are no plans to bring Protolog to other places.
b) the recommendation in the kernel is to use ftrace (https://perfetto.dev/docs/getting-started/ftrace) to log events and in native code to use atrace https://perfetto.dev/docs/getting-started/atrace