Vizualizace trasování procesů v Linuxu
Visualization of tracing of processes in Linux
bachelor thesis (DEFENDED)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/202593Identifiers
Study Information System: 277364
Collections
- Kvalifikační práce [12366]
Author
Advisor
Referee
Bednárek, David
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Computer Science with specialisation in Programming and Software Development
Department
Department of Distributed and Dependable Systems
Date of defense
5. 9. 2025
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
Czech
Grade
Excellent
Keywords (Czech)
Linux|trasováníKeywords (English)
Linux|tracingTato bakalářská práce se zabývá trasováním v operačním systému Linux s důrazem na aplikaci KernelShark. Teoretická část popisuje principy trasování a dostupné vizualizační nástroje, zatímco praktická část představuje návrh a realizaci několika vylepšení Kernel- Sharku. Mezi hlavní rozšíření patří úprava grafického rozhraní pro efektivnější práci s Trace-cmd, rozdělování vybraných typů událostí, vizualizace NUMA topologie systému (zejména NUMA uzlů, jader a procesorů v jádrech), plugin pro sledování nečinnosti pro- cesů a plugin pro příjemnější analýzu záznamů zásobníku jádra. Kromě toho byla při- dána i drobnější technická vylepšení. Každé rozšíření je doplněno technickým popisem, vývojovou a uživatelskou dokumentací a zhodnocením, nakolik byla splněna stanovená očekávání.
This bachelor's thesis focuses on tracing in the Linux operating system with an em- phasis on the KernelShark application. The theoretical part describes tracing principles and available visualization tools, while the practical part presents the design and im- plementation of several KernelShark enhancements. Key improvements include a GUI modification for more efficient work with Trace-cmd, splitting of selected event types, vi- sualization of the system's NUMA topology (mainly NUMA nodes, cores, and processors within cores), a plugin for monitoring process idleness, and a plugin for more user-friendly analysis of kernel stack trace records. Additionally, minor technical improvements were made. Each enhancement is accompanied by a technical description, development and user documentation, and an evaluation of how well the defined expectations were met.
