_coresight_build_path(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _coresight_build_path(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual 😌 this page is literally all about _coresight_build_path(9) β€” the function that recursively builds a path from a @csdev to a sink ✨ no cap.


🌸 NAME 🌸

_coresight_build_path β€” recursively build a path from a @csdev to a sink πŸ’–

✨ SYNOPSIS ✨

int _coresight_build_path (struct coresight_device *csdev , struct
       coresight_device *source , struct coresight_device *sink , struct
       coresight_path *path );

πŸŽ€ ARGUMENTS πŸŽ€

  • csdev β€” the device to start from. like, your starting point bestie 🫢
  • source β€” the trace source device of the path. the origin story ✨
  • sink β€” the final sink we want in this path. the destination, the main character πŸ‘‘
  • path β€” the list to add devices to. the group chat where everyone gets added πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the vibe: the tree of Coresight device is traversed until sink is found πŸ‘€ from there, the sink is added to the list along with all the devices that led to that point β€” and the end result is a list from source to sink. literally the whole glow-up journey 🌈

in that list, the source is the first device and the sink is the last one. periodt πŸ’… source first, sink last, no cap.

πŸ”₯ SEE ALSO πŸ”₯

first up, the Kernel file is ./drivers/hwtracing/coresight/coresight-core.c β€” that’s the spot πŸ“


and that’s the whole page, bestie 🫢 it comes from ./drivers/hwtracing/coresight, dated October 2026, and it’s serving Kernel API Manual energy for _coresight_build_path(9) πŸ’œβœ¨

πŸ“¦ where this page comes from