当前位置:网站首页>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边栏推荐
- User defined annotation realizes the function of verifying information
- MySQL日志
- 建立自己的网站(21)
- Etcd summary mechanism and usage scenarios
- Sign APK with command line
- 原来程序员搞私活这么赚钱?真的太香了
- Basic operation of queue (implemented in C language)
- Applet - applet chart Library (F2 chart Library)
- MySQL日志
- [IOT completion. Part 2] stm32+ smart cloud aiot+ laboratory security monitoring system
猜你喜欢

使用 Lambda 函数URL + CloudFront 实现S3镜像回源

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

Fiori 应用通过 Adaptation Project 的增强方式分享

那个很努力的学生,高考失败了……别慌!你还有一次逆袭机会!

奔涌而来的数字化浪潮,将怎样颠覆未来?

Summary of interview questions (1) HTTPS man in the middle attack, the principle of concurrenthashmap, serialVersionUID constant, redis single thread,

Enter the top six! Boyun's sales ranking in China's cloud management software market continues to rise

被裁三個月,面試到處碰壁,心態已經開始崩了

Après avoir été licencié pendant trois mois, l'entrevue s'est effondrée et l'état d'esprit a commencé à s'effondrer.

Dragon lizard community open source coolbpf, BPF program development efficiency increased 100 times
随机推荐
使用CMD修复和恢复病毒感染文件
leetcode622.设计循环队列(C语言)
基于算力驱动、数据与功能协同的分布式动态(协同)渲染/功能运行时
Learning to use livedata and ViewModel will make it easier for you to write business
Kongsong (Xintong Institute) - cloud security capacity building and trend in the digital era
队列的基本操作(C语言实现)
2022. Let me take you from getting started to mastering jetpack architecture components - lifecycle
Go整合Logrus实现日志打印
逻辑是个好东西
Yan Rong looks at how to formulate a multi cloud strategy in the era of hybrid cloud
Station B was scolded on the hot search..
孔松(信通院)-数字化时代云安全能力建设及趋势
当主程架构游戏的时候,防止到处调用减少耦合性,怎么开放接口给其他人调用呢?
el-form-item 正则验证
[Jianzhi offer] 54 The k-th node of binary search tree
AnimeSR:可学习的降质算子与新的真实世界动漫VSR数据集
Animesr: learnable degradation operator and new real world animation VSR dataset
A new book by teacher Zhang Yujin of Tsinghua University: 2D vision system and image technology (five copies will be sent at the end of the article)
[flask] flask starts and implements a minimal application based on flask
玩转MongoDB—搭建MongoDB集群