timerfd_settime - set the expiration and interval of an installed timer
The timerfd_settime() system call arms (starts) or disarms (stops) the timer
referred to by the file descriptor
fd. It does this by setting the timer's
expiration and interval according to the values specified in the
struct itimerspec pointed to by the
new_value argument. If the
argument is non-NULL, then the previous
struct itimerspec is returned in this
location. This syscall also allows the user to specify the
descriptor to indicate that
new_value->it_value is evaluated relative to the
int- file descriptor referring to the timer instance.
int- flags specifying the behavior of the timer. Flags:
const struct itimerspec*[K] - pointer to the new timer value.
struct itimerspec*[K] - pointer to the previous timer value
- K - Originated from kernel-space.
To monitor the duration of timerfd_settime system calls.
Example Use Case¶
This event can be used for monitoring a timer. For example, it can be used to record the time at which an application sets a timer.
timerfd_gettime- read the timer expiration and interval
This document was automatically generated by OpenAI and needs review. It might not be accurate and might contain errors. The authors of Tracee recommend that the user reads the "events.go" source file to understand the events and their arguments better.