DocumentCode
632612
Title
LgDb 2.0: Using Lguest for kernel profiling, code coverage and simulation
Author
Khen, Eviatar ; Zaidenberg, Nezer Jacob ; Averbuch, Amir ; Fraimovitch, Evgeny
Author_Institution
Sch. of Comput. Sci., Tel Aviv Univ., Tel Aviv, Israel
fYear
2013
fDate
7-10 July 2013
Firstpage
78
Lastpage
85
Abstract
We present LgDb 2.0. The second generation of LgDb, an innovative framework for kernel code coverage, profiling and simulation. LgDb is built on top of Lguest and allows running an inspected kernel on a virtual environment instead of modifying the running kernel or using an extra target machine. LgDb 2.0 is using the Lguest hypervisor and the KGDB kernel debugger to debug and instrument kernel code. Unlike the standard approaches, LgDb enlist the hypervisor to achieve a better debugging environment for kernel development. LgDb strives to provide a generic environment for running performance evaluation and checking decision coverage for any inspected kernel. LgDb 2.0 improves over the original LgDb by using a simulated serial port and inspecting the tested code using KGDB. By using KGDB we eliminate the need for code injections making, profiling and code coverage testing easier.
Keywords
operating system kernels; program debugging; program testing; virtualisation; KGDB kernel debugger; LgDb 2.0; LgDb second generation; Lguest hypervisor; checking decision coverage; code simulation; debugging environment; generic environment; inspected kernel; instrument kernel code debugger; kernel code coverage; kernel development; kernel profiling; running kernel; running performance evaluation; simulated serial port; virtual environment; Hardware; Instruments; Kernel; Linux; Switches; Testing; Virtual machine monitors; Code Coverage; Debugging; Lguest; Linux Kernel; Profiling; Virtualization;
fLanguage
English
Publisher
ieee
Conference_Titel
Performance Evaluation of Computer and Telecommunication Systems (SPECTS), 2013 International Symposium on
Conference_Location
Toronto, ON
Print_ISBN
978-1-56555-352-1
Type
conf
Filename
6595745
Link To Document