coresight_f...d_sysfs_sink(9)
β¨ coresight_find_activated_sysfs_sink β¨
okay so bestie, welcome to the Kernel API Manual β section 9 of the manual pages, no less π β and today's main character is a little lookup function from the CoreSight corner of the kernel. it's giving "where's the sink at" energy, and honestly? iconic.
π NAME π
coresight_find_activated_sysfs_sink β literally returns the first sink activated via sysfs, using a connection based search that starts from the source reference. that's the whole vibe π«Ά
π¦ SYNOPSIS π¦
struct coresight_device * coresight_find_activated_sysfs_sink (struct coresight_device *csdev );
like yes, it returns a struct coresight_device *, and yes it takes exactly one argument. she's lowkey efficient π
π ARGUMENTS π
csdevβ the Coresight source device reference. that's your starting point, your home base, the place the connection based search kicks off from π
πΈ SEE ALSO πΈ
- the kernel file
./drivers/hwtracing/coresight/coresight-sysfs.cβ go read the source, iykyk π coresight_disable_source_sysfs(9)β the sibling function, fr fr
ngl bestie, that's the entire page β she's short and she knows exactly what she is πβ¨
and that's a wrap, babe π this little transmission came to you from ./drivers/hwtracing/coresight, dated October 2026 β mwah, drink some water, and go trace something pretty ππ¦πΈ
π¦ 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