STRUCT FME_PERF_EVENT_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the Kernel API Manual page for struct fme_perf_event_ops β€” literally the callback bundle for fme perf events. It’s giving β€œtiny struct, very important job,” and we’re obsessed. πŸ’…


✨ SYNOPSIS ✨

here’s the exact shape, no edits, no cap:

       struct fme_perf_event_ops {
           int (*event_init)(struct fme_perf_priv *priv, u32 event, u32
       portid);
           void (*event_destroy)(struct fme_perf_priv *priv, u32 event, u32
       portid);
           u64 (*read_counter)(struct fme_perf_priv *priv, u32 event, u32
       portid);
        };

πŸŽ€ Members πŸŽ€

these are the three function-pointer besties in the struct:

  • event_init β€” callback invoked during event init ✨
  • event_destroy β€” callback invoked during event destroy 🧹
  • read_counter β€” callback to read hardware counters πŸ“Š

🌈 SEE ALSO 🌈

go peek at these, iykyk:

  • Kernel file ./drivers/fpga/dfl-fme-perf.c
  • struct fme_perf_priv(9)

and that’s the whole struct fme_perf_event_ops(9) moment πŸ’… β€” kisses from the ./drivers/fpga source corner, dated October 2026 πŸ’–

πŸ“¦ where this page comes from