Title : 
Dynamic logging with Dylog for networked embedded systems
         
        
            Author : 
Wei Dong ; Chao Huang ; Jiliang Wang ; Chun Chen ; Jiajun Bu
         
        
            Author_Institution : 
Coll. of Comput. Sci., Zhejiang Univ., Hangzhou, China
         
        
        
            fDate : 
June 30 2014-July 3 2014
         
        
        
        
            Abstract : 
We present Dylog, a dynamic logging facility for networked embedded systems. Dylog employs several techniques to enable lightweight and interactive logging. First, Dylog uses binary instrumentation for dynamically inserting or removing logging statements, enabling interactive debugging at the runtime. Second, Dylog incorporates an efficient storage system and log collection protocol for recording and transferring the logging messages. In particular, Dylog significantly reduces the communication cost by storing string identifiers and restoring them back to corresponding strings at the PC. Third, Dylog employs MAC layer timestamping and a linear clock model for reconstructing the synchronized time of the logging messages with a very high precision. We implement and evaluate Dylog on TinyOS 2.1.1/TelosB. Results show that Dylog incurs a reasonable overhead. Dylog can help gain great visibility into the system behaviors, and diagnose performance issues at the source code level.
         
        
            Keywords : 
embedded systems; operating systems (computers); program debugging; system monitoring; telecommunication computing; wireless sensor networks; Dylog; MAC layer; TinyOS 2.1.1/TelosB; binary instrumentation; dynamic logging; interactive debugging; interactive logging; lightweight logging; linear clock model; networked embedded systems; Ash; Embedded systems; Instruments; Protocols; Runtime; Synchronization; Wireless sensor networks;
         
        
        
        
            Conference_Titel : 
Sensing, Communication, and Networking (SECON), 2014 Eleventh Annual IEEE International Conference on
         
        
            Conference_Location : 
Singapore
         
        
        
            DOI : 
10.1109/SAHCN.2014.6990375