STRUCT EVENT_ENABLE_TIMER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 of int, 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 the evlist array of file descriptors to poll (that's the fdarray, iykyk) πŸ‘‘
  • times_step β€” the current position in (int *)times)[] β€” refer to event_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 ⭐


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