Hardware-assisted software event tracing

Adrien Vergé, Naser Ezzati-Jivan, Michel Dagenais

Article de revue (2017)

Accéder à ce document
Disponible
Libre accès au texte intégral dans PolyPublie
Version finale avant publication
Texte Texte • 353kB •

Résumé

Event tracing is a reliable and a low-intrusiveness method to debug and optimize systems and processes. Low overhead is particularly important in embedded systems where resources and energy consumption is critical. The most advanced tracing infrastructures achieve a very low footprint on the traced software, bringing each tracepoint overhead to less than a microsecond. To reduce this still non-negligible impact, the use of dedicated hardware resources is promising. In this paper, we propose complementary methods for tracing that rely on hardware modules to assist software tracing. We designed solutions to take advantage of CoreSight STM, CoreSight ETM, and Intel BTS, which are present on most newer ARM-based systems-on-chip and Intel x86 processors. Our results show that the time overhead for tracing can be reduced by up to 10 times when assisted by hardware, as compared to software tracing with LTTng, a high-performance tracer for Linux. We also propose a modification to the Perf tool to speed BTS execution tracing up to 65%.

Mots clés

Organismes subventionnaires:
CRSNG/NSERC
Numéro de subvention:
CRDPJ468687-14
Adresse URL de PolyPublie:
Titre de la revue :
Concurrency and Computation: Practice and Experience ( vol. 29 , no 10 )
Maison d'édition:
Wiley
OAI:
oai:publications.polymtl.ca:2981
ORCID
Date du dépôt:
12 févr. 2018 17:10
Dernière modification:
02 oct. 2026 21:58
Citer en APA 7:
Vergé, A., Ezzati-Jivan, N., & Dagenais, M. (2017). Hardware-assisted software event tracing. Concurrency and Computation: Practice and Experience, 29(10), 1-9. https://doi.org/10.1002/cpe.4069

Statistiques

Total des téléchargements à partir de PolyPublie

Téléchargements par année

Provenance des téléchargements

Dimensions

Actions réservées au personnel

Afficher document
Afficher document