trace_pid_list_is_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

trace_pid_list_is_set β€” test if the pid is set in the list. Welcome to the Kernel API Manual, bestie 🫢

✨ SYNOPSIS ✨

bool trace_pid_list_is_set (struct trace_pid_list *pid_list , unsigned
int pid );

πŸŽ€ ARGUMENTS πŸŽ€

  • pid_list β€” the pid list to test, aka the list you're giving the vibe check to πŸ’…
  • pid β€” the pid to see if set in the list. Literally the pid number you're asking about πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this tests if pid is set in the pid_list, periodt. It's usually called from the scheduler when a task is scheduled β€” its pid gets checked to see if it should be traced or not ✨. It returns true if the pid is in the list, and false otherwise. That's the whole vibe check, iykyk πŸ’œ

🌈 SEE ALSO 🌈

Kernel file ./kernel/trace/pid_list.c β€” go read it, bestie πŸ“–. Also check out these other icons:


source/version: ./kernel/trace Β· date: October 2026 β€” mwah, stay traced πŸ’‹πŸ’…

πŸ“¦ where this page comes from