coresight_find_default_sink(9)
π coresight_find_default_sink(9) π
okay bestie, welcome to the Kernel API Manual entry for coresight_find_default_sink β yes it's a whole function name, yes it's a mouthful, no we are not shortening it, it's iconic and we respect it π
β¨ NAME β¨
coresight_find_default_sink β find a sink that's suitable for use as a default sink. that's it, that's the whole job π
π¦ SYNOPSIS π¦
struct coresight_device * coresight_find_default_sink (struct coresight_device *csdev );
like, look at her go. no notes. π₯
πΈ ARGUMENTS πΈ
csdevβ the starting source we're using to go find a connected sink. she's the main character, everything kicks off from her π«Ά
π DESCRIPTION π
so here's the vibe: this function walks the connections graph looking for a suitable sink to enable for the supplied source. like she's literally strolling through the graph being picky on purpose π
how does she choose? she uses CoreSight device subtypes and distance from source to select the best sink. taste! discernment! we love a function with standards β¨
and if a sink is found? the default sink for this device gets set, and it'll be automatically used in future. no cap, she remembers, she's thoughtful like that π
this whole thing gets used in cases where the CoreSight user (perf / sysfs) has not selected a sink. so it's the "bestie, I got you, I'll pick" fallback energy π«Ά
π SEE ALSO π
kernel file ./drivers/hwtracing/coresight/coresight-core.c, plus these absolute icons:
struct coresight_node(9)coresight_blocks_source(9)coresight_get_sink_by_id(9)coresight_get_ref(9)coresight_put_ref(9)_coresight_build_path(9)coresight_release_path(9)coresight_select_best_sink(9)coresight_find_sink(9)coresight_clear_default_sink(9)coresight_timeout_action(9)
ok tiny reminder bestie: this page lives in ./drivers/hwtracing/coresight, and the version she's serving is October 2026. remember the date, she's a whole era π
anyway that's the page!! shady sinks, graph walks, default-sink setting, all documented and all slaying ππ go read the source, ily, bye π§
π¦ 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