create_system_filter(9)
π NAME π
Hiii bestie π this is create_system_filter(9) from the Kernel API Manual, and it does exactly one iconic thing: create a filter for an event subsystem. Slay.
β¨ SYNOPSIS β¨
int create_system_filter (struct trace_subsystem_dir *dir , char
*filter_str , struct event_filter **filterp );
π«Ά ARGUMENTS π«Ά
dirβ the descriptor for the subsystem directory. It's giving "where the subsystem lives" energy ποΈfilter_strβ the filter string. The actual filter text, no cap β¨filterpβ out param for the created filter, and it is always updated on return. Periodt. π
π DESCRIPTION π
Okay so listen π β create_system_filter is identical to create_filter except that it creates a subsystem filter and always remembers filter_str. That's the whole vibe. Lowkey simple, highkey important. π¦
Bestie heads up: filterp is an out param, and it's always updated on return β not sometimes, not maybe, always. π
π SEE ALSO π
- Kernel file
./kernel/trace/trace_events_filter.cβ that's the kernel file, iykyk π§ struct prog_entry(9)β related page, go look πupdate_preds(9)β related page, bestie π₯filter_parse_regex(9)β related page, literally πΈcreate_filter(9)β the sibling function this one is identical to (except for the subsystem-filter + always-remembers-filter_strpart) π
Made with π from the ./kernel/trace source/version corner, dated October 2026, on the create_system_filter(9) page β byeee bestie, go filter something cute ππ«Ά
π¦ 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