STRUCT EVENT_ENABLE_TIMER(9)
π struct event_enable_timer(9) π
okay so bestie, this is a page from the Kernel API Manual and it's about struct event_enable_timer β the literal control structure for perf record -D/--delay. she's niche but she's iconic π
β¨ NAME β¨
struct event_enable_timer β the control structure for perf record -D/--delay. no cap, that's literally her whole job π«Ά
πΈ SYNOPSIS πΈ
struct event_enable_timer {
struct evlist *evlist;
struct event_enable_time *times;
size_t times_cnt;
int timerfd;
int pollfd_pos;
size_t times_step;
};
π Members π
evlistβ the event list, bestie. that's it, that's the vibe πtimesβ the time ranges that events are enabled. N.B. this is also accessed as an array ofint, which is giving unhinged dual citizenship but okay πtimes_cntβ the number of time ranges. the count. the census. πtimerfdβ the timer file descriptor π₯pollfd_posβ position in theevlistarray of file descriptors to poll (that's thefdarray, iykyk) πtimes_stepβ the current position in(int *)times)[]β refer toevent_enable_timer__processπ¦
π§ Description π§
ok so read this before you @ me: this structure is only used when there are time ranges. if you've only got an initial delay, she's not invited to the party, no cap π
β SEE ALSO β
- Kernel file
./tools/perf/util/evlist.cevlist__set_id_pos(9) evlist__mmap_ex(9)struct event_enable_time(9)evlist__warn_user_requested_cpus(9)
mwah π that's the whole page, bestie β shipped from ./tools/perf/util, dated October 2026, and this little struct event_enable_timer(9) manual page is the moment. periodt. πΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms