All Projects → panhongwei → Tracereader

panhongwei / Tracereader

android小工具,通过读取trace文件,回溯整个整个程序执行调用树。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Tracereader

Profilinggo
A quick tour (or reminder) of Go performance tools
Stars: ✭ 219 (-29.58%)
Mutual labels:  trace, profiling
Wtrace
Command line tracing tool for Windows, based on ETW.
Stars: ✭ 563 (+81.03%)
Mutual labels:  trace, profiling
lo2s
Linux OTF2 Sampling - A Lightweight Node-Level Performance Monitoring Tool
Stars: ✭ 24 (-92.28%)
Mutual labels:  trace, profiling
profiler
Continuous profiling based on pprof
Stars: ✭ 221 (-28.94%)
Mutual labels:  trace, profiling
Jupiter
Jupiter是斗鱼开源的面向服务治理的Golang微服务框架
Stars: ✭ 3,455 (+1010.93%)
Mutual labels:  trace
goanalyzer
improved go tool trace goroutine analysis
Stars: ✭ 30 (-90.35%)
Mutual labels:  trace
snabbkaffe
Collection of utilities for trace-based testing
Stars: ✭ 35 (-88.75%)
Mutual labels:  trace
tiny-shell
A bash-like shell that performs basic functions of a shell. Made as a project for my course of System Software.
Stars: ✭ 53 (-82.96%)
Mutual labels:  trace
Trace4j
基于注解的轻量级java流程跟踪工具
Stars: ✭ 302 (-2.89%)
Mutual labels:  trace
Profiling
Was an interactive continuous Python profiler.
Stars: ✭ 2,989 (+861.09%)
Mutual labels:  profiling
node-wasm-trace
Instruments wasm files and traces execution
Stars: ✭ 24 (-92.28%)
Mutual labels:  trace
apollo-link-tracer
Trace your apollo queries and mutations with https://github.com/apollographql/apollo-link
Stars: ✭ 20 (-93.57%)
Mutual labels:  trace
Home
Project Glimpse: Node Edition - Spend less time debugging and more time developing.
Stars: ✭ 260 (-16.4%)
Mutual labels:  profiling
thundra-agent-nodejs
Thundra Lambda Node.js Agent
Stars: ✭ 31 (-90.03%)
Mutual labels:  profiling
Pyroscope
Continuous Profiling Platform! Debug performance issues down to a single line of code
Stars: ✭ 4,816 (+1448.55%)
Mutual labels:  profiling
printer
A fancy logger yet lightweight, and configurable. 🖨
Stars: ✭ 65 (-79.1%)
Mutual labels:  trace
Cargo Instruments
A cargo plugin to generate Xcode Instruments trace files
Stars: ✭ 284 (-8.68%)
Mutual labels:  profiling
puffin egui
Show puffin profiler flamegraph in-game using egui
Stars: ✭ 45 (-85.53%)
Mutual labels:  profiling
cache-trace
A collection of Twitter's anonymized production cache traces.
Stars: ✭ 89 (-71.38%)
Mutual labels:  trace
ETViewer
An alternative to Windows TraceView util
Stars: ✭ 13 (-95.82%)
Mutual labels:  trace

TraceReader

1.简述

Android 调试工具ddms的devices栏目存在一个功能叫做start method profiling,此按钮顾名思义是启动method profiling的,而Android的Method Profiling功能,是可以在一段时间内记录所有运行过的函数,最后生成一个xxx.trace文件。xxx.trace文件比较有趣,如果分析andorid源码可以知道,xxx.trace文件按线程和时间记录了method的enter和exit事件。也就是说,如果我们能够读取xxx.trace文件,那么我们就能够获取到某段时间,某个app运行过的java函数。

2.功能

 于是乎,便有个这个工具,目前更新到TraceReader v1.1,实现了如下功能:
1)支持拖拽解析xx.trace。
image
2)支持显示线程。
image
3)支持树形显示方法调用
image
4)支持按列显示运行方法
image
5)支持搜索
image
6)支持复制、重命名
image
image
7)支持显示调用时间
image
image

3.用法

 解析trace文件,用法如下:

  byte[] bytes=BytesHelper.toByteArray(fl.getPath());
  Trace trace=new Trace(bytes);		 
  trace.getThreadList();

3.原理

TODO….

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].