rOS-Instrumentation: An observer of operating system transactions
Instrumentation is a crucial technique for accurately and comprehensively observing the concurrent behavior of operating systems. The omission of certain key behaviors can lead to incomplete or inaccurate understanding. This paper presents the source-level instrumentation module rOS-Instrumentation...
Saved in:
| Main Authors: | , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
Elsevier
2025-05-01
|
| Series: | SoftwareX |
| Subjects: | |
| Online Access: | http://www.sciencedirect.com/science/article/pii/S2352711025001591 |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1849763639848861696 |
|---|---|
| author | Fengshan Shen Mingyuan Jiu |
| author_facet | Fengshan Shen Mingyuan Jiu |
| author_sort | Fengshan Shen |
| collection | DOAJ |
| description | Instrumentation is a crucial technique for accurately and comprehensively observing the concurrent behavior of operating systems. The omission of certain key behaviors can lead to incomplete or inaccurate understanding. This paper presents the source-level instrumentation module rOS-Instrumentation for the teaching-oriented operating system rCore. The module adopts a layered design strategy to achieve dependency separation, decomposing the instrumentation functionality into functions with varying degrees of reliance on the kernel. The inner-layer stub functions, which weakly depend on the kernel, can operate in more host functions, capturing events where critical kernel functions such as interrupt handling and output are executed. Meanwhile, the outer-layer output functions, which are more kernel-dependent, output the kernel function execution information recorded in memory by the stub functions at safe locations. The rOS-Instrumentation module features low dependency on kernel functionality, zero reliance on non-native development toolchains, no installation or configuration required, ease of compilation, and low technical barriers to use and customization. Users only need to reference the module name and call the user interface functions provided by the module to utilize its functionality seamlessly. Customization can be achieved by merely modifying the stub point information table within the module. |
| format | Article |
| id | doaj-art-2113f73d0db948e4abe8d746a77c7863 |
| institution | DOAJ |
| issn | 2352-7110 |
| language | English |
| publishDate | 2025-05-01 |
| publisher | Elsevier |
| record_format | Article |
| series | SoftwareX |
| spelling | doaj-art-2113f73d0db948e4abe8d746a77c78632025-08-20T03:05:21ZengElsevierSoftwareX2352-71102025-05-013010219210.1016/j.softx.2025.102192rOS-Instrumentation: An observer of operating system transactionsFengshan Shen0Mingyuan Jiu1Corresponding author.; School of Computer Science and Artificial Intelligence, Zhengzhou University, Zhengzhou, PR ChinaSchool of Computer Science and Artificial Intelligence, Zhengzhou University, Zhengzhou, PR ChinaInstrumentation is a crucial technique for accurately and comprehensively observing the concurrent behavior of operating systems. The omission of certain key behaviors can lead to incomplete or inaccurate understanding. This paper presents the source-level instrumentation module rOS-Instrumentation for the teaching-oriented operating system rCore. The module adopts a layered design strategy to achieve dependency separation, decomposing the instrumentation functionality into functions with varying degrees of reliance on the kernel. The inner-layer stub functions, which weakly depend on the kernel, can operate in more host functions, capturing events where critical kernel functions such as interrupt handling and output are executed. Meanwhile, the outer-layer output functions, which are more kernel-dependent, output the kernel function execution information recorded in memory by the stub functions at safe locations. The rOS-Instrumentation module features low dependency on kernel functionality, zero reliance on non-native development toolchains, no installation or configuration required, ease of compilation, and low technical barriers to use and customization. Users only need to reference the module name and call the user interface functions provided by the module to utilize its functionality seamlessly. Customization can be achieved by merely modifying the stub point information table within the module.http://www.sciencedirect.com/science/article/pii/S2352711025001591rCoreOperating systemInstrumentationInteraction |
| spellingShingle | Fengshan Shen Mingyuan Jiu rOS-Instrumentation: An observer of operating system transactions SoftwareX rCore Operating system Instrumentation Interaction |
| title | rOS-Instrumentation: An observer of operating system transactions |
| title_full | rOS-Instrumentation: An observer of operating system transactions |
| title_fullStr | rOS-Instrumentation: An observer of operating system transactions |
| title_full_unstemmed | rOS-Instrumentation: An observer of operating system transactions |
| title_short | rOS-Instrumentation: An observer of operating system transactions |
| title_sort | ros instrumentation an observer of operating system transactions |
| topic | rCore Operating system Instrumentation Interaction |
| url | http://www.sciencedirect.com/science/article/pii/S2352711025001591 |
| work_keys_str_mv | AT fengshanshen rosinstrumentationanobserverofoperatingsystemtransactions AT mingyuanjiu rosinstrumentationanobserverofoperatingsystemtransactions |