coresight_f...d_sysfs_sink(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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