Aveksha: a hardware-software approach for non-intrusive tracing and profiling of wireless embedded systems

  title={Aveksha: a hardware-software approach for non-intrusive tracing and profiling of wireless embedded systems},
  author={Matthew Tan Creti and Mohammad Sajjad Hossain and Saurabh Bagchi and Vijay Raghunathan},
It is important to get an idea of the events occurring in an embedded wireless node when it is deployed in the field, away from the convenience of an interactive debugger. Such visibility can be useful for post-deployment testing, replay-based debugging, and for performance and energy profiling of various software components. Prior software-based solutions to address this problem have incurred high execution overhead and intrusiveness. The intrusiveness changes the intrinsic timing behavior of… 

Testbed Assisted Control Flow Tracing for Wireless Embedded Systems

A method that can reconstruct the entire control flow of a program based on recorded state changes (time and state) of I/O pins is developed and an algorithm is presented that safely reduces the number of recorded events while still being able to uniquely determine the executed program path.

Towards Instruction Level Record and Replay of Sensor Network Applications

  • Lipeng WanQing Cao
  • Computer Science
    2013 IEEE 21st International Symposium on Modelling, Analysis and Simulation of Computer and Telecommunication Systems
  • 2013
This paper presents a systematic approach to record and replay WSN applications at the granularity of instructions, which differs from previous ones in that it is purely software based, therefore, no additional hardware component is needed.

FlockLab: A testbed for distributed, synchronized tracing and profiling of wireless embedded systems

FlockLab is presented, a testbed that overcomes limitation by allowing multiple services to run simultaneously and synchronously against all nodes under test in addition to the traditional serial port service: tracing of GPIO pins to record logical events occurring on a node, actuated pins to trigger actions on a nodes, and high-resolution power profiling.

Non-Intrusive Distributed Tracing of Wireless IoT Devices with the FlockLab 2 Testbed

A tracing system for validating time-critical software running on multiple distributed wireless devices that does not require code instrumentation, is non-intrusive and is designed to trace the distributed state of an entire network is presented.

Dependence-based source level tracing and replay for networked embedded systems

This dissertation takes wireless sensor networks, a special but representative type of networked embedded systems, as an example to propose a dependence-based source-level tracing-and-replay methodology for detecting and reproducing errors, and makes three main contributions towards making error detection and replay automatic.

Minerva: distributed tracing and debugging in wireless sensor networks

Minerva, a testbed architecture for distributed debugging of wireless sensor networks, with a flexible debug board installed at each node, provides non-intrusive, network-wide debugging of sensor network applications at a low cost.

TIP: Time-Proportional Instruction Profiling

Time-Proportional Instruction Profiling (TIP) is proposed which combines Oracle’s time attribution policies with statistical sampling to enable practical implementation and is implemented within the Berkeley Out-of-Order Machine and finds that TIP is highly accurate.

A testbed for fine-grained tracing of time sensitive behavior in wireless sensor networks

This paper introduces TRACELAB, a new testbed architecture that allows for fine-grained tracing of time sensitive behavior of low-power wireless embedded systems, and builds on the idea of GPIO tracing by including short GPIO instructions into node applications.

Challenges in Firmware Re-Hosting and Analysis

A classification to compare existing tools, on five axes, enables the practitioner to determine the appropriate tool for her emulation need and presents 28 common challenges faced when creating, emulating and analyzing a system.


Two novel approaches to solve the problem of practical record and replay for WSNs, including Tardis, which is able to record all sources of non-determinism, based on the observation that such information is compressible using a combination of techniques specialized for respective sources.



Dependence-based multi-level tracing and replay for wireless sensor networks debugging

Preliminary experimental results show that the test programs, which do not fit the program memory after straightforward instrumentation, can be successfully accommodated in memory using the new method such that the injected errors can be found.

FlashBox: a system for logging non-deterministic events in deployed embedded systems

This work proposes FlashBox - a system that acts as a black box for embedded systems, recording non-deterministic events (interrupts), an extension to a compiler, enabling recording capabilities at various granularities, with decreasing cost of flash memories, providing a low cost logging mechanism.

Replay debugging of real-time systems using time machines

This paper proposes and discusses different methods for deterministic monitoring, and provides benchmarking results from an industrial strength case study demonstrating the feasibility of the method based on a number of new techniques.

Efficient diagnostic tracing for wireless sensor networks

This paper proposes an efficient intra-procedural and inter-Procedural control-flow tracing algorithm that generates the traces of all interleaving concurrent events, and argues for the accuracy of the approach through case studies, and illustrates its low overhead through measurements and simulations.

Achieving Repeatability of Asynchronous Events in Wireless Sensor Networks with EnviroLog

The design and implement of EnviroLog is designed and implemented, a distributed service that improves repeatability of experimental testing of sensor networks via asynchronous event recording and replay and validated through a set of microbenchmarks, using the latest XSM platforms.

μSETL: A set based programming abstraction for wireless sensor networks

Programming wireless sensor networks is a major challenge, even for experienced programmers. To alleviate this problem, prior work has proposed a paradigm shift from node-level microprogramming to

Control Focused Soft Error Detection for Embedded Applications

This work presents an area-efficient control focused soft error detector (CNFSED) capable of nonintrusively detecting soft errors within the execution of a software application without modifications to the software application or the target processor.

Demo abstract: Debugging wireless sensor network simulations with YETI and COOJA

This work demonstrates the advantages of a seamless interconnection between YETI, a feature-rich development environment for TinyOS, and COOJA, a simulator for wireless sensor networks.

The Energy Endoscope: Real-Time Detailed Energy Accounting for Wireless Sensor Nodes

The LEAP2 platform is introduced, a qualitative step forward over the previously developed LEAP and other similar platforms, and it is demonstrated that by carefully selecting the system operating points, energy savings of over 60% can be achieved while retaining system performance.

Energy Metering for Free: Augmenting Switching Regulators for Real-Time Monitoring

iCount measures energy usage by counting the switching cycles of the regulator, a new energy meter design that requires only a pulse frequency modulated switching regulator and a microcontroller with an externally-clocked counter.