STRUCT CORESIGHT_OPS_SOURCE(9)
β¨ 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 ofenable, 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/linuxand it's dated October 2026 β the header saidstruct 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
- 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