strfilter__string(9)
π strfilter__string(9) β like, the Kernel API Manual page you actually wanna read π
okay so bestie, welcome to the Kernel API Manual entry for strfilter__string(9) β yes the whole manual name is in the title, we're official now π
β¨ NAME β¨
strfilter__string β reconstruct a rule string from a filter π§
Like, you hand it a filter and it gives you back the rule string. It's giving reconstruction era, periodt.
πΈ SYNOPSIS πΈ
char * strfilter__string (struct strfilter *filter );
π¦ ARGUMENTS π¦
filterβ the string filter you wanna reconstruct, aka the thing getting turned back into a rule string π
π DESCRIPTION π
So strfilter__string reconstructs a rule string from filter. Lowkey the whole point: this will be good for debug messages π₯ like when you're staring at your terminal at 3am and need to see the actual rule, this is your girl.
β οΈ bestie listen β note that the returning string must be freed afterward. Not me forgetting to free itβ¦ couldn't be meβ¦ but also could totally be you, so don't π«Ά memory leaks are NOT iconic π
π SEE ALSO π
Kernel file ./tools/perf/util/strfilter.h and its friends:
go read those too, iykyk π
okay that's the page!! mwah π this gem lives at ./tools/perf/util, dropped October 2026 under the title strfilter__string(9) β slay, no cap, see u in the next manpage 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