Libreplay: Deterministic replay for bug hunting in sensor networks

Olaf Landsiedel, Elad Michael Schiller, Salvatore Tomaselli

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Bug hunting in sensor networks is challenging: Bugs are often prompted by a particular, complex concatenation of events. Moreover, dynamic interactions between nodes and with the environment make it time-consuming to track and reproduce a bug. We introduce LibReplay to ease bug hunting in sensor networks: it provides (1) lightweight and flexible logging and (2) deterministic replay. LibReplay logs function calls to and from the application or another code of interest. It enables deterministic replay of execution traces in a controlled environment such as a full-system simulator. This allows the user to benefit from wellestablished debugging tools such as stepping through code, breakpoints, or watchpoints. We show that the lightweight architecture of LibReplay provides the benefits of replay debugging at an efficiency that is comparable to traditional logging tools, which commonly do not allow replay debugging.

Original languageEnglish
Title of host publicationWireless Sensor Networks - 12th European Conference, EWSN 2015, Proceedings
EditorsTarek Abdelzaher, Nuno Pereira, Eduardo Tovar
PublisherSpringer Verlag
Pages258-265
Number of pages8
ISBN (Electronic)9783319155814
DOIs
StatePublished - 1 Jan 2015
Externally publishedYes
Event12th European Conference on Wireless Sensor Networks, EWSN 2015 - Porto, Portugal
Duration: 9 Feb 201511 Feb 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8965
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference12th European Conference on Wireless Sensor Networks, EWSN 2015
Country/TerritoryPortugal
CityPorto
Period9/02/1511/02/15

Keywords

  • Cyber Physical Systems
  • Debugging
  • Internet of Things
  • Logging
  • Replay
  • Simulation
  • Tracing
  • Wireless Sensor Networks

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Libreplay: Deterministic replay for bug hunting in sensor networks'. Together they form a unique fingerprint.

Cite this