strfilter__string(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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