Enabling Efficient Mobile Tracing with BTrace
Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/Gutachten › Beitrag in Konferenzband › Beigetragen › Begutachtung
Beitragende
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
| Originalsprache | Englisch |
|---|---|
| Titel | Proceedings of the 30th ACM International Conference On Architectural Support For Programming Languages And Operating Systems (ASPLOS 2025) |
| Herausgeber (Verlag) | Assoc Computing Machinery |
| Seiten | 325-338 |
| Seitenumfang | 14 |
| Band | 2 |
| ISBN (elektronisch) | 979-8-4007-1079-7 |
| Publikationsstatus | Veröffentlicht - 30 März 2025 |
| Peer-Review-Status | Ja |
Konferenz
| Titel | 30th International Conference on Architectural Support for Programming Languages and Operating Systems |
|---|---|
| Kurztitel | ASPLOS 2025 |
| Veranstaltungsnummer | 30 |
| Dauer | 30 März - 3 April 2025 |
| Webseite | |
| Ort | Postillion Hotel & Convention Centre WTC Rotterdam |
| Stadt | Rotterdam |
| Land | Niederlande |
Externe IDs
| Scopus | 105002579711 |
|---|
Schlagworte
DFG-Fachsystematik nach Fachkollegium
Fächergruppen, Lehr- und Forschungsbereiche, Fachgebiete nach Destatis
ASJC Scopus Sachgebiete
Schlagwörter
- mobile, software debugging, tracing