msc_buffer_free(9)
π NAME π
okay so bestie, meet msc_buffer_free(9) from the Kernel API Manual β the little cleanup icon whose whole job is literally to free buffers for MSC. Thatβs the assignment. Slay. β¨
β¨ SYNOPSIS β¨
void msc_buffer_free (struct msc *msc );
πΈ ARGUMENTS πΈ
mscβ the MSC device. yes, that one. your main-character struct for this call π«Ά
π¦ DESCRIPTION π¦
It frees MSCβs storage buffers. thatβs the vibe π
real talk: this modifiesmsc::win_listandmsc::base, which requiresmsc::buf_mutexto serialize, so the caller is expected to hold it. like, you already have the mutex, bestie β donβt show up empty-handed π
π SEE ALSO π
the whole squad is linked here, no cap:
- Kernel file
./drivers/hwtracing/intel_th/msu.c struct msc_window(9)struct msc_iter(9)struct msc(9)struct msu_buffer_entry(9)msc_is_last_win(9)msc_next_window(9)msc_find_window(9)msc_oldest_window(9)msc_win_oldest_sg(9)msc_buffer_iterate(9)msc_buffer_clear_hw_header(9)msc_configure(9)msc_disable(9)msc_buffer_contig_alloc(9)msc_buffer_contig_free(9)msc_buffer_contig_get_page(9)msc_buffer_win_alloc(9)msc_buffer_win_free(9)msc_buffer_relink(9)msc_buffer_alloc(9)msc_buffer_unlocked_free_unless_used(9)msc_buffer_free_unless_used(9)msc_buffer_get_page(9)struct msc_win_to_user_struct(9)msc_win_to_user(9)intel_th_msc_window_unlock(9)
thatβs the whole page, bestie β source/version is ./drivers/hwtracing/intel_th, dated October 2026, and itβs giving Kernel API Manual realness ππ 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