LgDb 2.0: Using Lguest for kernel profiling, code coverage and simulation

Eviatar Khen, Nezer J. Zaidenberg, Amir Averbuch, Evgeny Fraimovitch

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

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.

Original languageEnglish
Title of host publicationProceedings of the 2013 International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2013 - Part of SummerSim 2013 Multiconference
Pages78-85
Number of pages8
StatePublished - 2013
Event2013 16th International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2013 - Part of SummerSim 2013 Multiconference - Toronto, ON, Canada
Duration: 7 Jul 201310 Jul 2013

Publication series

NameProceedings of the 2013 International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2013 - Part of SummerSim 2013 Multiconference

Conference

Conference2013 16th International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2013 - Part of SummerSim 2013 Multiconference
Country/TerritoryCanada
CityToronto, ON
Period7/07/1310/07/13

Keywords

  • Code Coverage
  • Debugging
  • Lguest
  • Linux Kernel
  • Profiling
  • Virtualization

Fingerprint

Dive into the research topics of 'LgDb 2.0: Using Lguest for kernel profiling, code coverage and simulation'. Together they form a unique fingerprint.

Cite this