求解决:低版本系统(低于android 8),导出trace时会有bad atrace打印,同样的apk在Android 8以上没有该问题,可以正常抓取trace;检查过apk,有正常插桩
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
btrace版本:2.0.0
PC:iMac 13.5.2
jdk:Java 8
调试设备:Android 7.1.2 (Android 4.4 6.0.1谷歌手机也是类似的情况)
apk插桩成功,能够正常的抓取trace,但是stop tracing时,解析atrace失败
查看pb文件,也是不完整的
Contributor guide
Research direction
Reproduce the stop-tracing failure on Android 7.1.2 or another pre-Android 8 device, using the reported btrace 2.0.0 setup, and compare it with Android 8+. Start at the atrace parsing step after tracing stops and inspect the incomplete pb output shown in the report. Done means older Android versions produce a complete parsed trace without the bad atrace output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile, observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100