ipc4_probes_init(9)
π
ipc4_probes_init (9) β from the Kernel API Manual, bestie β¨
okay so you found your way to ipc4_probes_init and honestly? slay. this one lives in the Kernel API Manual section 9, and it's the little function that gets data probing up and running. let's get into it π
β¨ NAME β¨
ipc4_probes_init β initialize data probing π¦
β¨ SYNOPSIS β¨
int ipc4_probes_init (struct sof_client_dev *cdev , u32 stream_tag ,
size_t buffer_size );
like, that's the whole signature. three args, one int coming back at you. no cap π
β¨ ARGUMENTS β¨
cdevβ the SOF client device π«Ά that's your device, your main characterstream_tagβ the extractor stream tag β¨ yes, this matters a lot, keep readingbuffer_sizeβ the DMA buffer size to set for the extractor πΈ
β¨ RETURN β¨
0 on success, and a negative error code on error π that's it, that's the deal. if you get 0 you ate. if you get something negative, vibe check failed, go look at your errors π
β¨ DESCRIPTION β¨
okay so here's the lore π
The host chooses whether extraction is supported or not by providing a valid stream_tag to the DSP. Once specified, the stream described by that tag will be tied to the DSP for extraction for the entire lifetime of probe. literally the whole time. it's giving commitment π
Probing is initialized only once, and each INIT request must be matched by a DEINIT call. π so don't just spam INIT, bestie β you gotta pair it up. one INIT, one DEINIT. periodt.
β οΈ no fr fr: probing is initialized only once, and every INIT request must be matched by a DEINIT call. don't leave your DEINIT hanging, that's not the vibe π
β¨ SEE ALSO β¨
- Kernel file
./sound/soc/sof/sof-client-probes-ipc4.cπ¦ sof_ipc4_probe_get_module_info(9)ipc4_probes_deinit(9)ipc4_probes_points_info(9)ipc4_probes_point_print(9)ipc4_probes_points_add(9)ipc4_probes_points_remove(9)
like, read the whole squad, they're all iconic π
anyway that's the page!! this one ships out of ./sound/soc/sof and the date on it is October 2026 π so yeah, mark your calendar bestie, mwah πππ«Ά
π¦ 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