A tool for measuring and analyzing system call execution times on Linux systems.
## Overview
This project provides utilities to measure and analyze the timing of various system calls, helping developers understand performance characteristics and potential bottlenecks in system-level operations.
## Prerequisites
- Linux operating system
- CMake (version 3.13 or higher)
- C++17 compatible compiler
- syscall_intercept library
## Installation
```bash
mkdir build &&cd build
cmake ..
make
make install
```
## Usage
The project includes two main components:
-`eval_intercept`: A shared library for syscall interception
-`opendevnull`: An executable for timing syscalls
### Running opendevnull
```bash
./opendevnull --syscall <open|getpid> [options]
Options:
--reps N Number of repetitions (default: 100M)
--always_syscall Always execute the original syscall (only use with interception and getpid)