cleanup_sdt_note_list(9)
π cleanup_sdt_note_list(9) π
Okay so welcome to the cleanup_sdt_note_list(9) page from the Kernel API Manual, bestie. This one is lowkey all about freeing the sdt notes' list, and it's giving tidy little cleanup icon energy. β¨
πΈ NAME πΈ
cleanup_sdt_note_list β the function that frees the sdt notes' list. That's the whole vibe. π
β¨ SYNOPSIS β¨
int cleanup_sdt_note_list (struct list_head *sdt_notes );
She takes a struct list_head * named sdt_notes, and she returns an int. Simple, clean, iconic. π«Ά
π¦ ARGUMENTS π¦
sdt_notesβ the sdt notes' list. That's the list being passed in, iykyk. π
π DESCRIPTION π
So what does she actually do? She frees up the SDT notes in sdt_notes, and then she returns the number of SDT notes that got free'd. That's it β no cap, the return value is literally the count of SDT notes free'd. ππ₯
π SEE ALSO π
Go check these out if you're on a little kernel-perf side quest, bestie:
- Kernel file:
./tools/perf/util/symbol-elf.c elf_symtab__for_each_symbol(9)ref_reloc_sym_not_found(9)ref_reloc(9)kcore_copy(9)populate_sdt_note(9)construct_sdt_notes_list(9)get_sdt_note_list(9)sdt_notes__get_count(9)
This iconic lil page comes from ./tools/perf/util, dated October 2026, under the Kernel API Manual umbrella β cleanup_sdt_note_list(9) out, bye bestie! π
ππ¦
π¦ 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