当前位置:网站首页>SWT / anr problem - how to capture performance trace
SWT / anr problem - how to capture performance trace
2022-07-01 13:59:00 【Professional developer】
describe :
We have some ANR Or software watchdog (SWT) System performance caused by the problem . Default ANR and SWT Logs have no performance tracking . We can add... Ourselves Perfetto Document collection Android Device system wide performance tracking data source .
The order is as follows :
adb root
adb remount
adb shell "echo 0 > /sys/kernel/tracing/tracing_on"
adb shell setenforce 0
adb shell setprop persist.sys.printPerfettoTrace true
// Please refer to following perfetto config example file perfettoconfig.txt
adb push perfettoconfig.txt /data/local/tracesAs follows patch be based on Android 11 To modify
Date: Fri, 14 May 2021 09:45:45 +0800
Subject: [PATCH] Debug: Print perfetto trace logs at ANR or SWWD
Change-Id: I1cf9b39f7648ac96bf3e4df122797aa17dd828da
---
.../core/java/com/android/server/Watchdog.java | 6 ++
.../java/com/android/server/am/PeffettoTrace.java | 65 ++++++++++++++++++++++
.../java/com/android/server/am/ProcessRecord.java | 9 +++
3 files changed边栏推荐
猜你喜欢

用栈实现队列、用队列实现栈(C语言_leetcode_232+225)

算网融合赋能行业转型,移动云点亮数智未来新路标

进入前六!博云在中国云管理软件市场销量排行持续上升

Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its

App自动化测试开元平台Appium-runner

孔松(信通院)-数字化时代云安全能力建设及趋势

玩转MongoDB—搭建MongoDB集群

The best landing practice of cave state in an Internet ⽹⾦ financial technology enterprise

面试题目总结(1) https中间人攻击,ConcurrentHashMap的原理 ,serialVersionUID常量,redis单线程,

2022. Let me take you from getting started to mastering jetpack architecture components - lifecycle
随机推荐
What class loading mechanisms does the JVM have?
Texstudio tutorial
C语言基础知识
龙蜥社区开源 coolbpf,BPF 程序开发效率提升百倍
Play with mongodb - build a mongodb cluster
基于算力驱动、数据与功能协同的分布式动态(协同)渲染/功能运行时
Learning to use livedata and ViewModel will make it easier for you to write business
Etcd summary mechanism and usage scenarios
Etcd 概要 机制 和使用场景
B站被骂上了热搜。。
Play with grpc - communication between different programming languages
一文读懂TDengine的窗口查询功能
微机原理与接口技术知识点整理复习–纯手打
关于佛萨奇2.0“Meta Force原力元宇宙系统开发逻辑方案(详情)
Several models of IO blocking, non blocking, IO multiplexing, signal driven and asynchronous IO
逻辑是个好东西
IO的几种模型 阻塞,非阻塞,io多路复用,信号驱动和异步io
Enter the top six! Boyun's sales ranking in China's cloud management software market continues to rise
当主程架构游戏的时候,防止到处调用减少耦合性,怎么开放接口给其他人调用呢?
2. Sensor size "recommended collection"