collect_registered_events(9)
β¨ NAME β¨
okay so bestie, welcome to collect_registered_events(9) from the Kernel API Manual π. The whole gig is literally in the name: call the existing callback function for the event. That's the main character energy right there. No cap. β¨
π¦ SYNOPSIS π¦
here's the signature, exactly as it appears, because we do not play games with code fr fr:
int collect_registered_events (struct tep_event *event , struct
tep_record *record , int cpu , void *context );
π ARGUMENTS π
the manpage is so real for this one: every single argument is listed as -- undescribed -- π. That's what it says, bestie, so here's the lineup:
eventβ-- undescribed --recordβ-- undescribed --cpuβ-- undescribed --contextβ-- undescribed --
πΈ DESCRIPTION πΈ
so here's the tea: if an event has a registered callback function, call it. Otherwise, ignore the event. Like, literally ignore it β not every event is invited to the callback party π.
Returns 0 if the event was collected, and 1 if the tool should stop collecting trace. That return value is giving "keep going or wrap it up" energy, iykyk π.
π SEE ALSO π
go peek at these besties too:
- Kernel file
./tools/verification/rv/src/trace.c trace_instance_destroy(9)trace_instance_init(9)trace_instance_start(9)
cute little sign-off: this page comes from source/version ./tools/verification/rv/src, dated October 2026, and it's collect_registered_events(9) saying bye bestie π«Άπ
β¨
π¦ 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