Visualization of the Linux Kernel With ExplorViz
Creators
Description
The Linux kernel is one of the largest and longest-maintained open-source projects in existence. With tens of thousands of source code files, understanding the program's internal structure and behavior is a great challenge. In this paper, we present an approach to visualize the Linux kernel using our software visualization tool ExplorViz. We analyze commits from the Linux Git repository using srcML and our custom backend service for static analysis. We visualize the folder structure and included source code files using the city metaphor. Users can visually compare the structure of different commits to gain insight into the kernel's software evolution.
In addition to the visualization of the structure of the Linux kernel, ExplorViz processes traces that provide runtime information about the kernel's behavior. Therefore, we employ the function tracer ftrace and convert the gathered traces to the OpenTelemetry format. The accumulated traces are displayed as arcs between communicating files.
When combined with the numerous configuration options of ExplorViz for customizing its visualization, our approach offers new and versatile perspectives on the Linux kernel.
Video URL: https://youtu.be/cBouE5eQOjE
Files
VISSOFT-2025-Linux-Challenge-ExplorViz-Preprint.pdf
Files
(3.6 MB)
Name | Size | Download all |
---|---|---|
md5:f073d3a3ab523829165f108db88922b7
|
3.6 MB | Preview Download |
Additional details
References
- M. Awasthi and K. T. Malladi, "Kova : A tool for kernel visualization and analysis," in 2016 IEEE 35th International Performance Computing and Communications Conference (IPCCC), 2016. DOI: 10.1109/PCCC.2016.7820601 pp. 1–3.
- H. Liu, Y. Jiang, and C. Xu, "Understanding the Linux kernel, visually," in Proceedings of the Twentieth European Conference on Computer Systems, ser. EuroSys '25, 2025. DOI: 10.1145/3689031.3696095 p. 1044–1060.
- C. Knight and M. Munro, "Comprehension with[in] virtual environment visualisations," in Proceedings Seventh International Workshop on Program Comprehension, 1999. DOI: 10.1109/WPC.1999.777733 pp. 4–11.
- R. Wettel and M. Lanza, "CodeCity: 3D visualization of largescale software," in Companion of the 30th International Conference on Software Engineering, ser. ICSE Companion '08, 2008. DOI: 10.1145/1370175.1370188 p. 921–922.
- R. Wettel, M. Lanza, and R. Robbes, "Software systems as cities: a controlled experiment," in Proceedings of the 33rd International Conference on Software Engineering, ser. ICSE '11, 2011. DOI: 10.1145/1985793.1985868 p. 551–560.
- V. Garousi, R. Kotchorek, and M. Smith, "Test cost-effectiveness and defect density: A case study on the android platform," vol. 89. Elsevier, 12 2013. DOI: 10.1016/B978-0-12-408094-2.00005-9 pp. 163–206.
- G. Occhipinti, C. Nagy, R. Minelli, and M. Lanza, "Syn: Ultra-scale software evolution comprehension," in 2023 IEEE/ACM 31st International Conference on Program Comprehension (ICPC), 2023. DOI: 10.1109/ICPC58990.2023.00020 pp. 69–73.
- F. Fittkau, A. Krause, and W. Hasselbring, "Software landscape and application visualization for system comprehension with ExplorViz," Information and Software Technology, vol. 87, pp. 259–277, July 2017. DOI: 10.1016/j.infsof.2016.07.004
- W. Hasselbring, A. Krause, and C. Zirkelbach, "ExplorViz: research on software visualization, comprehension and collaboration," Software Impacts, vol. 6, November 2020. DOI: 10.1016/j.simpa.2020.100034
- A. Krause-Glau, M. Hansen, and W. Hasselbring, "Collaborative program comprehension via software visualization in extended reality," Information and Software Technology, vol. 151, p. 107007, Nov. 2022. DOI: 10.1016/j.infsof.2022.107007
- A. Krause-Glau, L. Damerau, M. Hansen, and W. Hasselbring, "Visual integration of static and dynamic software analysis in code reviews via software city visualization," in 2024 IEEE Working Conference on Software Visualization (VISSOFT), 2024. DOI: 10.1109/VISSOFT64034.2024.00028 pp. 144–149.
- M. L. Collard, M. J. Decker, and J. I. Maletic, "Lightweight transformation and fact extraction with the srcml toolkit," in 2011 IEEE 11th International Working Conference on Source Code Analysis and Manipulation, 2011. DOI: 10.1109/SCAM.2011.19 pp. 173–184.
- S. Domrös, R. von Hanxleden, M. Spönemann, U. Rüegg, and C. D. Schulze, "The eclipse layout kernel," 2023. [Online]. Available: https://arxiv.org/abs/2311.00533