Relational access to Unix kernel data structures

Marios Fragkoulis, Diomidis Spinellis, Panos Louridas, Angelos Bilas
<span title="">2014</span> <i title="ACM Press"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/m52bwee6j5hgxdqcfnxtfxy5we" style="color: black;">Proceedings of the Ninth European Conference on Computer Systems - EuroSys &#39;14</a> </i> &nbsp;
State of the art kernel diagnostic tools like DTrace and Systemtap provide a procedural interface for expressing analysis tasks. We argue that a relational interface to kernel data structures can offer complementary benefits for kernel diagnostics. This work contributes a method and an implementation for mapping a kernel's data structures to a relational interface. The Pico COllections Query Library (PiCO QL) Linux kernel module uses a domain specific language to define a relational
more &raquo; ... on of accessible Linux kernel data structures, a parser to analyze the definitions, and a compiler to implement an SQL interface to the data structures. It then evaluates queries written in SQL against the kernel's data structures. PiCO QL queries are interactive and type safe. Unlike SystemTap and DTrace, PiCO QL is less intrusive because it does not require kernel instrumentation; instead it hooks to existing kernel data structures through the module's source code. PiCO QL imposes no overhead when idle and needs only access to the kernel data structures that contain relevant information for answering the input queries. We demonstrate PiCO QL's usefulness by presenting Linux kernel queries that provide meaningful custom views of system resources and pinpoint issues, such as security vulnerabilities and performance problems.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1145/2592798.2592802">doi:10.1145/2592798.2592802</a> <a target="_blank" rel="external noopener" href="https://dblp.org/rec/conf/eurosys/FragkoulisSLB14.html">dblp:conf/eurosys/FragkoulisSLB14</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/aca53eyoqnhxhdn4z5zelacgiy">fatcat:aca53eyoqnhxhdn4z5zelacgiy</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20170813062921/http://users.ics.forth.gr/~bilas/pdffiles/fragkoulis-eurosys14.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/64/63/6463c62b7004d88a9d1063e8a6755d7057cc15a8.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1145/2592798.2592802"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> acm.org </button> </a>