STRUCT ADDR_FILTER(9)
π struct addr_filter(9) β like, the address filter struct, bestie π
okay so this is a page from the Kernel API Manual and it's literally all about struct addr_filter β cute name, big job. it's the address filter, and we're gonna go through every single member together because i refuse to let you skim. π«Ά
β¨ NAME β¨
struct addr_filter β address filter. that's it, that's the whole vibe. short, sweet, main character energy. π
πΈ SYNOPSIS πΈ
here's the whole struct, copied exactly, no cap:
struct addr_filter {
struct list_head list;
bool range;
bool start;
const char *action;
const char *sym_from;
const char *sym_to;
int sym_from_idx;
int sym_to_idx;
u64 addr;
u64 size;
const char *filename;
char *str;
};
look at her. twelve members. flawless. π
π¦ Members π¦
okay bestie, member-by-member, let's go:
listβ the list node. it's how she links up with her friends. π§rangeβtrueif it's a range filter. yes queen, cover that whole region. π₯startβtrueifactionis'filter'or'start'. simple as that. β¨actionβ okay so the original page literally saysto 'stop')and that's all it says, so that's exactly what i'm giving you. i am not about to invent lore. πsym_fromβ symbol name for the filter address. the from one. πsym_toβ symbol name that determines the filter size. she sets the size, she's in charge. πsym_from_idxβ selects n'th from symbols with the same name (0means global and less than0means symbol must be unique). so0= global, negative = must be unique, got it got it. βsym_to_idxβ same assym_from_idxbut forsym_to. they're matching. it's giving coordinated outfits. πaddrβ filter address. the address itself. πsizeβ filter region size (for range filters). only the range girls get this one. πfilenameβ DSO file name orNULLfor the kernel.NULL= kernel, iykyk. πΈstrβ allocated string that contains the other string members. she's the group chat that holds all the other messages. π
ngl theactionline above is exactly as short as the page gives it βto 'stop')β so don't come for me, i kept it character for character. π
π SEE ALSO π
go read these too, bestie, i'm serious:
Kernel file ./tools/perf/util/auxtrace.h, struct itrace_synth_opts(9), struct auxtrace_index_entry(9), struct auxtrace_index(9), struct auxtrace(9), struct auxtrace_buffer(9), struct auxtrace_queue(9), struct auxtrace_queues(9), struct auxtrace_heap_item(9), struct auxtrace_heap(9), struct auxtrace_mmap(9), struct auxtrace_mmap_params(9), struct auxtrace_record(9), struct addr_filters(9)
π that's the whole page! this one lives over in ./tools/perf/util, dated October 2026 β so yeah, she's fresh. go forth and filter those addresses, bestie. periodt. πβ¨
π¦ 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