sdt_notes__get_count(9)
π sdt_notes__get_count(9)
okay so bestie, welcome to the Kernel API Manual β¨ you're literally about to read the sdt_notes__get_count page and honestly? it's a short one. a little snack. a lil bite-sized kernel moment π
πΈ NAME
sdt_notes__get_count β counts the number of sdt events π₯
like, it counts them. that's the whole job. and it eats. every time. π
β¨ SYNOPSIS
int sdt_notes__get_count (struct list_head *start );
that's it. one argument. one int coming back at you. no cap, that's the entire signature π«Ά
π ARGUMENTS
startβ alist_headpointing at thesdt_noteslist π this is the list you're asking about, bestie. gotta hand it over so it knows which list to count.
π¦ DESCRIPTION
returns the number of SDT notes in a list β
yep. that's the vibe check: you give it a list, it tells you how many SDT notes are chillin' in there. simple, iconic, does exactly what it says on the tin π§
π SEE ALSO
- 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)cleanup_sdt_note_list(9)
the whole friend group fr fr β go read them too, iykyk π
and that's the page!! mwah π this lil manual page lives in ./tools/perf/util, dated October 2026, and honestly it's giving "short and sweet and fully booked." go count some SDT notes bestie, you've got this πβ¨π
π¦ 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