_coresight_build_path(9)
π _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 π
struct coresight_node(9)coresight_blocks_source(9)coresight_get_sink_by_id(9)coresight_get_ref(9)coresight_put_ref(9)coresight_release_path(9)coresight_select_best_sink(9)coresight_find_sink(9)coresight_find_default_sink(9)coresight_clear_default_sink(9)coresight_timeout_action(9)
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
- 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