trace_find_filtered_pid(9)
π trace_find_filtered_pid(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a kernel function page and it's honestly so useful β it's trace_find_filtered_pid, and no I will not be pronouncing all of that out loud π«Ά
πΈ NAME πΈ
trace_find_filtered_pid β check if a pid exists in a filtered_pid list π
like that's literally the whole job. it checks. it tells you yes or no. main character energy fr fr π
β¨ SYNOPSIS β¨
bool trace_find_filtered_pid (struct trace_pid_list *filtered_pids ,
pid_t search_pid );
bool in, bool out β we love a function that knows what it is π
π ARGUMENTS π
filtered_pidsβ the list of pids you're gonna check, bestie. this is the haystack πΎsearch_pidβ the PID you're hunting for insidefiltered_pids. this is the needle πͺ‘
π¦ DESCRIPTION π¦
so here's the vibe check: it returns true if search_pid is found in filtered_pids, and false otherwise β¨
that's it. that's the whole thing. no cap. truthy = found, falsy = not found, and honestly? iconic behavior π
π SEE ALSO π
- Kernel file
./kernel/trace/trace_pid.cβ the source file, go look at it, iykyk π trace_ignore_this_task(9)trace_filter_add_remove_task(9)trace_pid_next(9)trace_pid_start(9)trace_pid_show(9)
like a little friend group of tracing functions, and they all ate π π₯
and that's the page!! π source/version is ./kernel/trace and the date on this one is October 2026 β so it's giving cozy-autumn-kernel-docs vibes π mwah, go read the actual kernel source now, ily, bye π§π
π¦ 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