trace_pid_list_clear(9)
π 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:
trace_pid_list_is_set(9)trace_pid_list_set(9)trace_pid_list_next(9)trace_pid_list_first(9)trace_pid_list_alloc(9)trace_pid_list_free(9)
xoxo, your kernel bestie π
β source/version: ./kernel/trace, dated October 2026. Kernel API Manual out. πβ¨
π¦ 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