coresight_get_ref(9)
π coresight_get_ref π
okay bestie, welcome to the Kernel API Manual corner of the group chat π«Ά. This one is coresight_get_ref, and it's giving βtiny helper with refcount responsibilities.β no cap. β¨
β¨ NAME β¨
coresight_get_ref β helper function to increase the reference count to the module and device. π
πΈ SYNOPSIS πΈ
bool coresight_get_ref (struct coresight_device *csdev );
π ARGUMENTS π
csdevβ the coresight device to get a reference on. literally the main character here π¦
π¦ DESCRIPTION π¦
Here's the vibe check, bestie:
- it returns
truein the successful case and powers up the device β¨ - it returns
falsewhen it fails to get a reference of the module π
no cap: success =true+ device power-up; failure =falsebecause the module reference didn't happen. periodt.
π₯ SEE ALSO π₯
Kernel file: ./drivers/hwtracing/coresight/coresight-core.c
struct coresight_node(9)coresight_blocks_source(9)coresight_get_sink_by_id(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_clear_default_sink(9)coresight_timeout_action(9)
mwah π this page lives under ./drivers/hwtracing/coresight, is dated October 2026, and is proudly coresight_get_ref(9) from the Kernel API Manual. iconic. πβ¨
π¦ 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