coresight_cl...default_sink(9)
β¨ coresight_cl...default_sink(9) β¨
okay so this is a page from the Kernel API Manual, bestie β yes, the actual kernel, and yes, you're gonna get it π
π NAME π
coresight_clear_default_sink β literally removes every default sink reference pointing at the sink you hand it. all of them. gone. periodt.
π¦ SYNOPSIS π¦
void coresight_clear_default_sink (struct coresight_device *csdev );
π ARGUMENTS π
csdevβ the coresight sink in question π«Ά take this one and remove all the references to it from, like, every source. it's giving cleanup era.
πΈ DESCRIPTION πΈ
so here's the vibe check: if the device you handed over is actually a sink, then it goes through all the bus devices and clears out every single reference to this sink from the coresight_device def_sink parameter. no cap, that's the whole thing π
basically: sink detected β references yeeted β def_sink is clean β¨
π SEE ALSO π
go check out the kernel file ./drivers/hwtracing/coresight/coresight-core.c β that's where the magic lives, iykyk π₯
and then the whole friend group:
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_find_default_sink(9)coresight_timeout_action(9)
fr fr read the whole list, they're all main character energy π
π that's the page, bestie! this lil gem lives in ./drivers/hwtracing/coresight, dated October 2026 β mwah, go forth and clear those sinks ππ
π¦ 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