当前位置:网站首页>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边栏推荐
- Leetcode第一题:两数之和(3种语言)
- Etcd 概要 机制 和使用场景
- 当你真的学会DataBinding后,你会发现“这玩意真香”!
- Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its
- 刘对(火线安全)-多云环境的风险发现
- Enter the top six! Boyun's sales ranking in China's cloud management software market continues to rise
- Admire, Ali female program undercover more than 500 black production groups
- 佩服,阿里女程序卧底 500 多个黑产群……
- “国防七子”经费暴增,清华足足362亿元,甩第二名101亿 |全国高校2022预算大公开...
- Build your own website (21)
猜你喜欢

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

2022上半年英特尔有哪些“硬核创新”?看这张图就知道了!
![[IOT completion. Part 2] stm32+ smart cloud aiot+ laboratory security monitoring system](/img/b2/e8f81ecda6f5f4fc65501aaf9f13cf.gif)
[IOT completion. Part 2] stm32+ smart cloud aiot+ laboratory security monitoring system

Fiori applications are shared through the enhancement of adaptation project

Etcd summary mechanism and usage scenarios

Learning to use livedata and ViewModel will make it easier for you to write business

我们该如何保护自己的密码?

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

SAP 智能机器人流程自动化(iRPA)解决方案分享

原来程序员搞私活这么赚钱?真的太香了
随机推荐
学会使用LiveData和ViewModel,我相信会让你在写业务时变得轻松
Oracle-数据库对象的使用
基于算力驱动、数据与功能协同的分布式动态(协同)渲染/功能运行时
陈宇(Aqua)-安全->云安全->多云安全
盲盒NFT数字藏品平台系统开发(搭建源码)
小程序-小程序图表库(F2图表库)
3.4 data query in introduction to database system - select (single table query, connection query, nested query, set query, multi table query)
Fiori 应用通过 Adaptation Project 的增强方式分享
Chen Yu (Aqua) - Safety - & gt; Cloud Security - & gt; Multicloud security
JVM有哪些类加载机制?
【修复版】仿我爱看电影网站模板/海洋CMS影视系统模板
QT学习管理系统
Yan Rong looks at how to formulate a multi cloud strategy in the era of hybrid cloud
MySQL log
uni-app实现广告滚动条
当主程架构游戏的时候,防止到处调用减少耦合性,怎么开放接口给其他人调用呢?
leetcode 322. Coin Change 零钱兑换(中等)
Basic operation of queue (implemented in C language)
SWT/ANR问题--如何捕获性能的trace
How will the surging tide of digitalization overturn the future?