STRUCT CORESIGHT_OPS_SOURCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct coresight_ops_source(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this little page is all about struct coresight_ops_source and it's giving "kernel documentation but make it cute." Let's get into it 🫢


🌸 NAME 🌸

struct coresight_ops_source β€” the basic operations for a source. Like, the operations that are available for sources. That's the whole vibe. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the struct in all its glory, copy it exactly bestie, no cap:

struct coresight_ops_source {
    int (*enable)(struct coresight_device *csdev, struct perf_event
*event, enum cs_mode mode, struct coresight_path *path);
    void (*disable)(struct coresight_device *csdev, struct perf_event
*event);
    int (*resume_perf)(struct coresight_device *csdev);
    void (*pause_perf)(struct coresight_device *csdev);
 };

πŸŽ€ Members πŸŽ€

  • enable β€” enables tracing for a source ✨ like, it turns the tracing ON for a source, that's the whole job.
  • disable β€” disables tracing for a source πŸ’€ the opposite energy of enable, it turns tracing OFF for a source.
  • resume_perf β€” resumes tracing for a source in a perf session πŸ”₯ picking the tracing sesh back up, we love a comeback.
  • pause_perf β€” pauses tracing for a source in a perf session πŸ™ˆ hitting pause on tracing in a perf session, very main character of it.

🌈 SEE ALSO 🌈

kernel file ./include/linux/coresight.h, plus the whole friend group: union coresight_dev_subtype(9), struct coresight_platform_data(9), struct csdev_access(9), struct coresight_desc(9), struct coresight_connection(9), struct coresight_sysfs_link(9), struct coresight_device(9), struct coresight_path(9), struct coresight_ops_sink(9), struct coresight_ops_link(9), struct coresight_ops_helper(9), and struct coresight_ops_panic(9) β€” literally the entire squad, go say hi πŸ¦‹πŸ’œ


and that's the page bestie! πŸŽ€ sign-off time: this one lives in ./include/linux and it's dated October 2026 β€” the header said struct coresight_ops_source(9) and the footer said it again, so now you know the whole lore πŸ’– slay, periodt, go read some kernel source ✨🧚
πŸ“¦ where this page comes from