Hubble: Performance Debugging with In-Production, Just-In-Time Method Tracing on Android
Yu Luo, Kirk Rodrigues, Cuiqin Li, Feng Zhang, Lijin Jiang, Bing Xia, David Lion, Ding Yuan
摘要
Hubble is a method-tracing system shipped on all supported and upcoming Android devices manufactured by Huawei, in order to aid in debugging performance problems. Hubble instruments every non-inlined bytecode method's entry and exit to record the method's name and a timestamp. Instead of persisting all data, trace points are recorded into an in-memory ring buffer where older data is constantly overwritten. This data is only persisted when a performance problem is detected, giving engineers access to invaluable, detailed runtime data Just-In-Time before the detected anomaly. Hubble is highly efficient, with its tracing inducing negligible overhead in realworld usage and each trace point taking less than one nanosecond in our microbenchmark. Hubble significantly eases the debugging of user-experienced performance problems and has enabled engineers to quickly resolve many bug tickets that were open for months before Hubble was available.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Enabling Efficient Mobile Tracing with BTrace 引用了 The Benefit of Hindsight: Tracing Edge-Cases in Distributed Systems
- EXIST: Enabling Extremely Efficient Intra-Service Tracing Observability in Datacenters 引用了 Execution reconstruction: harnessing failure reoccurrences for failure reproduction
引用它的顶会 Paper5
- The Benefit of Hindsight: Tracing Edge-Cases in Distributed SystemsLei Zhang, Zhiqiang Xie, Vaastav Anand, Ymir Vigfusson 等NSDI 2023 · 50 次引用
- LDB: An Efficient Latency Profiling Tool for Multithreaded ApplicationsInho Cho, Seo Jin Park, Ahmed Saeed, Mohammad Alizadeh 等NSDI 2024 · 4 次引用
- EXIST: Enabling Extremely Efficient Intra-Service Tracing Observability in DatacentersXinkai Wang, Xiaofeng Hou, Chao Li, Yuancheng Li 等ASPLOS 2025 · 4 次引用
- Rethinking Process Management for Interactive Mobile SystemsJianwei Zheng, Zhenhua Li, Feng Qian, Wei Liu 等MobiCom 2024 · 2 次引用
- Enabling Efficient Mobile Tracing with BTraceJiawei Wang, Nian Liu, Arnau Casadevall-Saiz, Yutao Liu 等ASPLOS 2025
它引用的 Paper1
相关 Paper
- Loom: Efficient Capture and Querying of High-Frequency TelemetryFranco Solleza, Shihang Li, William Sun, Richard Tang 等SOSP 2025
- Alligator in Vest: A Practical Failure-Diagnosis Framework via Arm Hardware FeaturesYiming Zhang, Yuxin Hu, Haonan Li, Wenxuan Shi 等ISSTA 2023 · 4 次引用
- Argus: Debugging Performance Issues in Modern Desktop Applications with Annotated Causal TracingLingmei Weng, Peng Huang, Jason Nieh, Junfeng YangUSENIX ATC 2021 · 16 次引用
- NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTEMingkai Li, Hang Ye, Joseph Devietti, Suman Jana 等S&P 2026 · 1 次引用
- Phantom Rendering Detection: Identifying and Analyzing Unnecessary UI ComputationsZhihao Lin, Mingyi Zhou, Bo Sun, Han Hu 等FSE 2026
