Enabling Efficient Mobile Tracing with BTrace
Research output: Contribution to book/Conference proceedings/Anthology/Report › Conference contribution › Contributed › peer-review
Contributors
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 demanding cores.BTrace further gracefully handles unique requirements of modern smartphones, e.g., core oversubscription and resizing. BTrace has been deployed in production, recording an average of 2x continuous traces compared to the current best-performing tracer (Linux ftrace) and improving performance by 20%. Using BTrace, we successfully identified numerous bugs that require traces of long duration and are challenging to locate with existing tracers.
Details
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 30th ACM International Conference On Architectural Support For Programming Languages And Operating Systems (ASPLOS 2025) |
| Publisher | Assoc Computing Machinery |
| Pages | 325-338 |
| Number of pages | 14 |
| Volume | 2 |
| ISBN (electronic) | 979-8-4007-1079-7 |
| Publication status | Published - 30 Mar 2025 |
| Peer-reviewed | Yes |
Conference
| Title | 30th International Conference on Architectural Support for Programming Languages and Operating Systems |
|---|---|
| Abbreviated title | ASPLOS 2025 |
| Conference number | 30 |
| Duration | 30 March - 3 April 2025 |
| Website | |
| Location | Postillion Hotel & Convention Centre WTC Rotterdam |
| City | Rotterdam |
| Country | Netherlands |
External IDs
| Scopus | 105002579711 |
|---|
Keywords
DFG Classification of Subject Areas according to Review Boards
Subject groups, research areas, subject areas according to Destatis
ASJC Scopus subject areas
Keywords
- mobile, software debugging, tracing