trace_pid_list_clear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– trace_pid_list_clear(9) β€” Kernel API Manual πŸ’–

🌸 NAME 🌸

trace_pid_list_clear β€” remove a pid from the list 🎯

✨ SYNOPSIS ✨

       int trace_pid_list_clear (struct trace_pid_list *pid_list , unsigned int
       pid );

πŸŽ€ ARGUMENTS πŸŽ€

  • pid_list β€” the pid list to remove the pid from. She's the list we're editing, bestie πŸ’…
  • pid β€” the pid to remove. Bye-bye, pid πŸ‘‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so trace_pid_list_clear removes pid from pid_list β€” literally takes that pid out of the list, no cap. This is usually done explicitly by a user removing tasks from tracing, or indirectly by the exit function when a task that is set to be traced exits. It's giving cleanup era 🧹✨

Return 0 on success, negative otherwise. That's the whole vibe check πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./kernel/trace/pid_list.c, and the rest of the friend group is:

xoxo, your kernel bestie πŸ’… β€” source/version: ./kernel/trace, dated October 2026. Kernel API Manual out. πŸŽ€βœ¨

πŸ“¦ where this page comes from