Perfetto Trace для «sched_blocked_reason», НО не обнаружено функций блокировкиAndroid

Форум для тех, кто программирует под Android
Anonymous
Perfetto Trace для «sched_blocked_reason», НО не обнаружено функций блокировки

Сообщение Anonymous »


I am attempting to capture some performance issues(with Perfetto) using the following configuration:

data_sources: { config { name: "linux.ftrace" ftrace_config { ftrace_events: "sched/sched_blocked_reason" ... However, the results I obtained are as follows(lots of, but none of them contain BLOCK FUNCTIONS):

00:00:05.959445920 sched_blocked_reason 2 irq/51-meson-am irq/51_meson_am-2160 ( 2160) [002] .... 2796.096890: sched_blocked_reason: pid=4821 io_wait=0 caller=2

Any idea? Could anyone provide any insights into this output? Specifically, I’m looking to understand the sched_blocked_reason event and its implications for system performance.

Thank you for your assistance.

Additionally, I recall that searching for sched_blocked_reason within atrace can help identify the blocking functions. Can't I get same thing from Perfetto?


Источник: https://stackoverflow.com/questions/781 ... -functions

Вернуться в «Android»