写点什么

国庆 perfetto 学习

作者:留白的艺术
  • 2022 年 10 月 05 日
    上海
  • 本文字数:1072 字

    阅读完需:约 4 分钟

国庆 perfetto 学习

buffers: {

size_kb: 522240

fill_policy: DISCARD

}

data_sources: {

config {

name: "linux.process_stats"

target_buffer: 1

process_stats_config {

scan_all_processes_on_start: true

}

}

}

data_sources: {

config {

name: "android.log"

android_log_config {

log_ids: LID_DEFAULT

log_ids: LID_SYSTEM

}

}

}

data_sources: {

config {

name: "linux.sys_stats"

sys_stats_config {

stat_period_ms: 250

stat_counters: STAT_CPU_TIMES

stat_counters: STAT_FORK_COUNT

}

}

}

data_sources: {

config {

name: "linux.ftrace"

ftrace_config {

ftrace_events: "sched/sched_switch"

ftrace_events: "power/suspend_resume"

ftrace_events: "sched/sched_wakeup"

ftrace_events: "sched/sched_wakeup_new"

ftrace_events: "sched/sched_waking"

ftrace_events: "power/cpu_frequency"

ftrace_events: "power/cpu_idle"

ftrace_events: "power/gpu_frequency"

ftrace_events: "raw_syscalls/sys_enter"

ftrace_events: "raw_syscalls/sys_exit"

ftrace_events: "sched/sched_process_exit"

ftrace_events: "sched/sched_process_free"

ftrace_events: "task/task_newtask"

ftrace_events: "task/task_rename"

ftrace_events: "ftrace/print"

atrace_categories: "gfx"

atrace_categories: "input"

atrace_categories: "view"

atrace_categories: "wm"

atrace_categories: "am"

atrace_categories: "hal"

atrace_categories: "res"

atrace_categories: "dalvik"

atrace_categories: "bionic"

atrace_categories: "pm"

atrace_categories: "ss"

atrace_categories: "database"

atrace_categories: "aidl"

atrace_categories: "binder_driver"

atrace_categories: "binder_lock"

atrace_apps: "*"

}

}

}

duration_ms: 30000


https://blog.csdn.net/zhying719/article/details/114650494

adb shell setprop persist.traced.enable 1

用户头像

还未添加个人签名 2019.04.24 加入

还未添加个人简介

评论

发布
暂无评论
国庆perfetto学习_留白的艺术_InfoQ写作社区