Kworkflow A Linux kernel Developer Automation Workflow System
Resumo
The Linux kernel is a central project to the Free/Libre and Open Source Software (FLOSS) ecosystem. Developers who interact with the kernel source code routinely face a variety of repetitive and error-prone tasks, including setting up testing environments, managing kernel configuration files, compiling with various toolchains, deploying to varied targets, and correctly submitting patches. These tasks, though essential, often require handcrafted scripts that become fragile, difficult to maintain, and disconnected from the core development goals. Kworkflow (kw) is a Developer Automation Workflow System (DAWS) that aims to provide high-quality tools that mitigate known bottlenecks experienced by kernel developers in their daily workflows. It provides a unified Command-Line Interface (CLI) that automates and streamlines many tasks, allowing practitioners to focus more on developing code and less on setup overhead and details. The hub-like design of the project reflects its philosophy of incorporating existing tools to avoid duplication of efforts and wasted resources from the community, a by-product of the many ad-hoc scripts developers commonly create. The kw tool also offers a data collection infrastructure, which makes it an excellent platform for further scientific research in the Linux kernel development model. In this sense, kw serves as a robust tool for real kernel developers and an opportunity for academic research work. Demo video: Software Heritage permalink [19].
Referências
Fabrice Bellard and QEMU team. 2025. QEMU. QEMU Project. [link]. Archived in Software Heritage: swh:1:dir:6a9686165e35116cc97e6501a7742646d2f9f479.
Jonathan Corbet. 2014. How 4.4’s patches got to the mainline. LinuxWeekly News. [link]
Jonathan Corbet. 2017. Patch flow into the mainline for 4.14. Linux Weekly News. [link]
Jonathan Corbet and Greg Kroah-Hartman. 2017. Linux Kernel Development Report. Linux Foundation. [link]
Debian Project. 2025. Debian Popularity Contest. [link]. Accessed: 2025-05-20.
DRM Maintainers. 2025. DRM Maintainer Tools. Intel Corporation. [link] Archived in Software Heritage: swh:1:dir:358b189f89b01e7d193a0630027cd59e528258b1.
Richard Hipp. 2025. SQLite3. SQLite Project. [link] Archived in Software Heritage:swh:1:dir:4621e6010913950ce033e02a1395432b68d1ad3b.
Dave Jones, Joel Schopp, Andy Whitcroft, and Joe Perches. 2025. checkpatch.pl. Linux Kernel Community. [link] Archived in Software Heritage: swh:1:cnt:3d22bf863eec9edf0c2fe7ad7a8986d7e8ad892a.
LLVM Developer Group. 2025. The LLVM Compiler Infrastructure. LLVM Project. [link] Archived in Software Heritage: swh:1:dir:b3b208939883e92f2778e6d55cf181b65891e277.
Joe Perches. 2025. get_maintainer.pl. Linux Kernel Community. [link] Archived in Software Heritage: swh:1:cnt:4414194bedcfd747bd24199b5de9ccf04bf6d227.
Konstantin Ryabitsev. 2025. B4 tools. B4 Project. [link] Archived in Software Heritage with SWHID: swh:1:dir:6146dd4655a3423b13a8ce77a1ceb9669251f133.
Rodrigo Siqueira, David Tadokoro, and Matheus Tavares. 2025. Kworkflow. University of São Paulo. [link] Archived in Software Heritage: swh:1:dir:90dc41328e09271597eb1f4f47d8a4c2e972a5bb.
Rodrigo Siqueira, David Tadokoro, and Matheus Tavares. 2025. Kworkflow entry point. University of São Paulo. [link] Archived in Software Heritage: swh:1:cnt:ea47bc419ea4eb2479f201cb4d27c2b6fec14282.
Rodrigo Siqueira, David Tadokoro, and Matheus Tavares. 2025. Kworkflow features. University of São Paulo. [link]. Archived in Software Heritage: swh:1:dir:d696593d47c764d8a32279581bbd52fe76061815.
Rodrigo Siqueira, David Tadokoro, and Matheus Tavares. 2025. Kworkflow libraries. University of São Paulo. [link] Archived in Software Heritage: swh:1:dir:6fa251dc395901dfead332adde7964cd7a18cb5d.
Rodrigo Siqueira, David Tadokoro, and Matheus Tavares. 2025. Kworkflow plugins. University of São Paulo. [link] Archived in Software Heritage: swh:1:dir:53e76813cec821f79856d1f822a96f5a19ce5a28.
Rodrigo Siqueira, David Tadokoro, and Matheus Tavares. 2025. Kworkflow setup.sh script. University of São Paulo. [link] Archived inSoftware Heritage: swh:1:cnt:b724ddb1e8c4fd7d45f2b0f212d7770c4a3715b9.
David Tadokoro. 2025. Kworkflow demo video. [link]. YouTube [link].
Linus Torvalds and Junio C. Hamano. 2025. Git - fast, scalable, distributed revision control system. Git Project. [link] Archived in Software Heritage: swh:1:dir:630e361bc0ae5b9def1e1f303ccadb80a4ab5f76.
Melissa Shihfan Ribeiro Wen. 2021. What Happens When the Bazaar Grows: A comprehensive study on the contemporary Linux kernel development model. Master’s thesis. Universidade de São Paulo.
Yildiran, Necip Fazil and Oh, Jeho and Lawall, Julia and Gazzillo, Paul. 2024. Maximizing Patch Coverage for Testing of Highly-Configurable Software without Exploding Build Times. Proceedings of the ACM on Software Engineering 1, FSE (2024), 427–449.
