Skip to main content

classify

Function classify 

Source
pub fn classify(row: &mut Row, tgid: u32, cmdline_empty: bool, has_exe: bool)
Expand description

Classify a row as a kernel thread or a userland thread.

Kernel threads have an empty /proc/<pid>/cmdline and no exe; threads have a Tgid != Pid.