Enabling Efficient Mobile Tracing with BTrace
Jiawei Wang, Nian Liu, Arnau Casadevall-Saiz, Yutao Liu, Diogo Behrens, Ming Fu, Ning Jia, Hermann Härtig, Haibo Chen
Abstract
With the growing complexity of smartphone systems, effective tracing becomes vital for enhancing their stability and optimizing the user experience. Unfortunately, existing tracing tools are inefficient in smartphone scenarios. Their distributed designs (with either per-core or per-thread buffers) prioritize performance but lead to missing crucial clues with high probability. While these problems can be overlooked in previous scenarios (e.g., servers), they drastically limit the usefulness of tracing on smartphones.
To enable efficient tracing on smartphones, we propose BTrace: a tracing tool that combines the performance benefits of per-core buffers with the capability of retaining longer continuous traces by partitioning a global buffer into multiple blocks, which are dynamically assigned to the most
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on7
- The Benefit of Hindsight: Tracing Edge-Cases in Distributed SystemsLei Zhang, Zhiqiang Xie, Vaastav Anand, Ymir Vigfusson et al.NSDI 2023 · 50 citations
- Automated Bug Hunting With Data-Driven Symbolic Root Cause AnalysisCarter Yagemann, Simon P. Chung, Brendan Saltaformaggio, Wenke LeeCCS 2021 · 17 citations
- Argus: Debugging Performance Issues in Modern Desktop Applications with Annotated Causal TracingLingmei Weng, Peng Huang, Jason Nieh, Junfeng YangUSENIX ATC 2021 · 16 citations
- Scale and Performance in a Filesystem Semi-MicrokernelJing Liu, Anthony Rebello, Yifan Dai, Chenhao Ye et al.SOSP 2021 · 14 citations
- Microkernel Goes General: Performance and Compatibility in the HongMeng Production MicrokernelHaibo Chen, Xie Miao, Ning Jia, Nan Wang et al.OSDI 2024 · 13 citations
Related papers
- EXIST: Enabling Extremely Efficient Intra-Service Tracing Observability in DatacentersXinkai Wang, Xiaofeng Hou, Chao Li, Yuancheng Li et al.ASPLOS 2025 · 4 citations
- Hubble: Performance Debugging with In-Production, Just-In-Time Method Tracing on AndroidYu Luo, Kirk Rodrigues, Cuiqin Li, Feng Zhang et al.OSDI 2022 · 11 citations
- LazyBarrier: Reconstructing Android IO Stack for Barrier-Enabled Flash StorageYuanyi Zhang, Heng Zhang, Wenbin Cao, Xing He et al.ASPLOS 2024 · 5 citations
- BulletTime: Time Dilation for High-Fidelity TracingMichael Wu, Sibren Isaacman, Abhishek Bhattacharjee, Anurag KhandelwalISCA 2026
- BrezeFlow: Unified Debugger for Android CPU Power Governors and Schedulers on Edge DevicesAlexander Hoffman, Anuj Pathania, Philipp H. Kindt, Samarjit Chakraborty et al.DAC 2020 · 2 citations
